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 #34

Open
lastmjs opened this issue May 6, 2020 · 3 comments
Open

GraphQL #34

lastmjs opened this issue May 6, 2020 · 3 comments

Comments

@lastmjs
Copy link

lastmjs commented May 6, 2020

Hey, is there any chance a GraphQL API could be standardized along with any REST or JSON RPC APIs being discussed?

@wemeetagain
Copy link

I think we can support this thru some sort of auto-translation tool (openAPI -> graphQL)
Hopefully such a solution would require minimal additional overhead.
Something like https://github.com/IBM/openapi-to-graphql or https://github.com/yarax/swagger-to-graphql/

@vince0656
Copy link

This would be great mainly from the perspective of asking the node for only the data points you require rather than waiting on the node collecting things you’re going to discard anyway which is one thing when using one endpoint, another for many REST endpoints

@dapplion
Copy link
Collaborator

dapplion commented Dec 8, 2023

I don't think there's much bandwidth for down stream beacon clients to implement support for GraphQL. Given that there are many beacon implementations, would be best to have some middleware that interfaces between GraphQL consumers and the beacon REST API

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

No branches or pull requests

4 participants