-
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
kobotoolbox: implement generic name-spaced http methods #966
Conversation
Signed-off-by: Hunter Achieng <[email protected]>
Signed-off-by: Hunter Achieng <[email protected]>
username: 'test', | ||
password: 'strongpassword', | ||
apiVersion: 'v2', | ||
baseURL: 'https://test.kobotoolbox.org', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, interesting that this is baseURL
and not baseUrl
. This comment is a reminder to me to maybe change this
@@ -130,7 +202,7 @@ describe('getSubmissions', () => { | |||
}); | |||
}); | |||
|
|||
describe('getForms', () => { | |||
describe.skip('getForms', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, it's Ok to skip these for now, we'll come in and re-write them a bit later. We need to remember to remove nock
from this adaptor. Maybe we should do it in this PR?
Signed-off-by: Hunter Achieng <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me @hunterachieng I'll sleep on the other questions I've raised and decide whether we want to do something now or later. But you can move on form here
Summary
Implement generic name-spaced http helpers:
get
,post
andput
Fixes #934
AI Usage
Please disclose how you've used AI in this work (it's cool, we just want to
know!):
You can read more details in our
Responsible AI Policy
Review Checklist
Before merging, the reviewer should check the following items:
production? Is it safe to release?
dev only changes don't need a changeset.