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

GraphQL Support #128

Open
jreadey opened this issue Mar 17, 2022 · 2 comments
Open

GraphQL Support #128

jreadey opened this issue Mar 17, 2022 · 2 comments
Assignees

Comments

@jreadey
Copy link
Member

jreadey commented Mar 17, 2022

Add a GraphQL endpoint to HSDS. Potentially this will enable clients to gather data from multiple objects in one request. Example: fetch attributes from two different datasets.

Please add a comment to this issue if this is something you'd be interested in.

@gheber gheber pinned this issue Mar 18, 2022
@bilalshaikh42
Copy link
Member

bilalshaikh42 commented Mar 24, 2022

This would be incredibly useful for us. Currently, we make multiple REST requests to HSDS gather different metdata/values for multiple datasets for each request to our API. Using graphql would allow us to combine that into one query, saving us some network overhead.

@gheber gheber unpinned this issue Jun 30, 2022
@jreadey
Copy link
Member Author

jreadey commented Oct 2, 2023

Curious if anyone has any thoughts on how to handle large dataset selections in GraphQL?
If we use a JSON representation that will require larger data transfers and some inefficiencies in parsing the JSON data.
A base64 encoding would help somewhat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants