apollo-rs icon indicating copy to clipboard operation
apollo-rs copied to clipboard

Parse a `Value` from a string

Open goto-bus-stop opened this issue 1 year ago • 0 comments

In introspection results (https://github.com/apollographql/apollo-rs/issues/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

goto-bus-stop avatar Nov 30 '23 10:11 goto-bus-stop