apollo-rs
apollo-rs copied to clipboard
Spec compliant GraphQL Tools in Rust.
## Description When creating a compiler using the operation body within an Apollo Router plugin, I get a panic on introspection requests from Apollo Sandbox. ### Steps to reproduce Failing...
## Description When asking for `field.ty()` from within an inline fragment, I always get None. ### Steps to reproduce Failing test: https://github.com/apollographql/apollo-rs/pull/262 ### Expected result `ty()` hopefully returns Some for...
We will never really want to have a compiler that's created from a single graphql source, it's a lot more likely that the context is going to be built out...
It be useful to have a `impl From for apollo_encoder::Document` implementation. There are cases where a user might want to walk the AST and make adjustments (such as adding core...
Compiler's context needs to be accessed from multiple threads in the router, implement a `Send` trait for the context, or figure out a way to carry it over from salsa's...
here's a failing test showing that field return type info isn't present inside inline fragments cc @lrlna
## Description When traversing through selection sets, it's handy to know if a field is part of introspection so I can ignore it: ```rs match selection { Selection::Field(f) => {...
if you place characters after a `[Type]`, like `[Type]oops`, `apollo-compiler` will panic. example valid schema: ```graphql type Person { id: ID! name: String appearedIn: [Film] directed: [Film] } type Film...
- add input object definition to source database - add validation - [x] unique name - [ ] circular reference validation, [spec](https://spec.graphql.org/October2021/#sec-Input-Objects.Circular-References) - [x] input field names must be unique...