We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whenever we want to query a nested graph. We may want to insert dynamic properties inside the resource.
const validOrgUnitsQuery = { orgUnits: ({ dataSetId, orgUnit }) => ( {{ resource: `dataSets/${dataSetId}/organisationUnits/gist`, params: { fields: ["id"], filter: `path:like:${orgUnit}`, total: true, }, }), };
and later I may want to do
const { loading, error, data, refetch } = useDataQuery( validOrgUnitsQuery, { variables: { dataSetId: selectedDataSet?.id, orgUnit: selectedOrgUnit?.id })
Currently, it is not supported getting the following error object
{ "type": "invalid-query", "details": [ "[orgUnits] Property resource must be a string" ] }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Whenever we want to query a nested graph. We may want to insert dynamic properties inside the resource.
and later I may want to do
Currently, it is not supported getting the following error object
The text was updated successfully, but these errors were encountered: