apollo-rs
apollo-rs copied to clipboard
Spec compliant GraphQL Tools in Rust.
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...
## Description I'm interested in what the current thinking is on how `apollo-compiler` handles custom scalars. Is there any interest in the compiler providing a mechanism for extending the compiler...
## Description As defined in [Specification](https://spec.graphql.org/October2021/#sec-Objects.Type-Validation) has an object type to define at least one field. This is not satisfied in grammar of `apollo-parser`. ### Steps to reproduce Validate this...
## Description Many errors emitted by the lexer do not set the `error.index` property, so they point to the start of the document by default. ### Steps to reproduce Input...
## Description In some local benchmarks, I have noticed a slow-down when the compiler db fills up. While some side effects of a full db are expected, I would've anticipated...
## Description Trying to use apollo-smith to generate random operations against an given type system, I ran into stack overflows. This seems to happen when a type can refer to...
This visitor pattern is designed for doing normalizations on executable documents, so it assumes you will mutate the tree as it is walked. (Perhaps a better design would be to...
## Description The [Specification](https://spec.graphql.org/October2021/#sec-Names.Reserved-Names) declares the following: ```md # Reserved Names Any Name within a GraphQL type system must not start with two underscores "__" unless it is part of...
## Description Schema printer adds unnecessary comma for arguments with description. See repro below. ### Steps to reproduce ```rust #[test] fn arguments() { let mut foo = ObjectType { name:...
In apollo-compiler 0.11 validation returns a `Vec` that can contain: * Any number of error-level diagnostics * A warning for enum value definitions with non-uppercase names * An "advice" for...