-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
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
Epic: dhis2 7.0 #919
Comments
It might be easier to update axios, rather than removing it entirely. Axios is better now and I'm not sure it's worth the effort of moving away. I do think we should create a http namespace which uses our common helpers and has a familiar signature. But other operations that currently use axios, maybe it's fine to leave it? Worth looking closely at the output we get from an updated axios, especially form error. Is it still leaky? Is it still too noisy? We should have really good error handling capability now, we should be able to do a much better job of wrapping errors up cleanly. |
Looking over some dhis2 code today it behaves quite different to other adaprors. I think the best argument for removing axios is that it'll force us to really standardise how the adaptor works. Stuff like I think we should also double down on the |
I think both |
maintaining as utils sounds good. they've just been validated by GHS. Anything that makes job writing easier is worth keeping |
hey @josephjclark on this should we break up the above list into sub-issues? Or is there other spec-ing work to do here? |
Yeah it probably ought to be broken down, and then we can finish specs in the issues. I'll do that tomorrow. |
Epic issue to track work on the next major dhis2 version
Notes
util.attr(attribute, value)
is pretty annoying though. Should we have a dhis2 builder API?b.attr()
? See alsodv
- which at the very least should be a utilcreate
should not include HTTP semanticscreate
should have fewer examples?destroy
is not "a generic helper function". Neither is udpate.findAttributeValue
is a util.So basically it's
Plus any other outstanding issues.
The text was updated successfully, but these errors were encountered: