Replies: 6 comments
-
What about
I'd expect non-200 +
Would be nice to allow namespaced mutations as well
Do you have a specific example in mind where we'd need a whole |
Beta Was this translation helpful? Give feedback.
-
Yes, I'm working on porting The actual query definition, besides the different path, is exactly the same. cfr. https://docs.dhis2.org/2.35/en/dhis2_developer_manual/web-api.html#analytics |
Beta Was this translation helpful? Give feedback.
-
Ok, it's not a path but a segment or some kind of type string, I was wondering if the path included |
Beta Was this translation helpful? Give feedback.
-
Yes, not technically the URL's path, but anything that follows the resource: 'dimensions',
id: ({ id }) => `${id}/items` |
Beta Was this translation helpful? Give feedback.
-
I'm still undecided whether a function or string with placeholders (as I proposed here; I don't really care about the sytnax) would be better for this. Right now I'm leaning towards a string with placeholders as we could perform some checks on it (e. g. no slashes, must be of type string, etc.) and we'd prevent complex logic for the resource path. |
Beta Was this translation helpful? Give feedback.
-
There is an additional usecase here: https://jira.dhis2.org/browse/LIBS-9 (props and data can be momentarily out of sync). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Opening this issue to collect challenges and potential improvements we uncover while using the App Runtime for more and larger apps.
fetchMore
abstraction, rather thanrefetch({ page: xyz })
engine.query
) andrefetch
interfacessome/path/<id>/items
oranalytics/<path>/<program-id>
whereid
,program-id
path
would be passed as a variablesExpand on these or list more here!
Beta Was this translation helpful? Give feedback.
All reactions