Skip to content
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

Refactor: HTTP API #372

Closed
1 task done
fredcarle opened this issue Apr 21, 2022 · 1 comment · Fixed by #382
Closed
1 task done

Refactor: HTTP API #372

fredcarle opened this issue Apr 21, 2022 · 1 comment · Fixed by #382
Assignees
Labels
area/api Related to the external API component
Milestone

Comments

@fredcarle
Copy link
Collaborator

fredcarle commented Apr 21, 2022

SUB-TASKS

@fredcarle fredcarle self-assigned this Apr 21, 2022
@fredcarle fredcarle added this to the DefraDB v0.3 milestone Apr 21, 2022
@fredcarle fredcarle added the area/api Related to the external API component label Apr 21, 2022
shahzadlone added a commit that referenced this issue Apr 26, 2022
Probably not ideal, however, this is some of the GQL clients send the data in the request body when making a GET request.

Tested this fixed Insomnia, and some other GQL clients.

TODO:
Leaving this as temporary fix to be cleaned / hopefully be moved to a POST request as a sub-task of: #372
@shahzadlone
Copy link
Member

Added #367 as a subtask. Also referenced the rough branch / commit that fixes #367 (but needs to be cleaned up, it was meant for when we only use GET request).

fredcarle added a commit that referenced this issue May 6, 2022
fredcarle added a commit that referenced this issue May 12, 2022
Resolves #372
Resolves #367

This PR restructures the api/http package with idiomatic patterns and a few useful utility functions.
shahzadlone pushed a commit to shahzadlone/defradb that referenced this issue Feb 23, 2024
shahzadlone pushed a commit to shahzadlone/defradb that referenced this issue Feb 23, 2024
Resolves sourcenetwork#372
Resolves sourcenetwork#367

This PR restructures the api/http package with idiomatic patterns and a few useful utility functions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Related to the external API component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants