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

Parse a Value from a string #761

Open
goto-bus-stop opened this issue Nov 30, 2023 · 0 comments
Open

Parse a Value from a string #761

goto-bus-stop opened this issue Nov 30, 2023 · 0 comments
Labels
apollo-compiler issues/PRs pertaining to semantic analysis & validation

Comments

@goto-bus-stop
Copy link
Member

goto-bus-stop commented Nov 30, 2023

In introspection results (#675), default values for input types are encoded as strings containing GraphQL syntax: https://spec.graphql.org/draft/#sec-The-__InputValue-Type

To build an apollo_compiler::Schema from an introspection response, we would need to parse these strings into ast::Value nodes. Following a similar implementation to #718

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apollo-compiler issues/PRs pertaining to semantic analysis & validation
Projects
None yet
Development

No branches or pull requests

2 participants