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

Add support for top level extensions field. #28

Open
riverajo opened this issue Apr 11, 2019 · 0 comments
Open

Add support for top level extensions field. #28

riverajo opened this issue Apr 11, 2019 · 0 comments

Comments

@riverajo
Copy link

The graphQL spec specifies an extensions field in the top level response. It's reserved for implementation specific data. However right now there is no way for a client to reach that data. Some endpoints return useful data about query cost. Perhaps a function like RunWithExtensions and convert Run to just pass nil to it for backwards compatibility and for anyone that doesn't care about them. I'd be willing to put together a PR if this is something that would be integrated.

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

1 participant