graphql-parser
graphql-parser copied to clipboard
A graphql query language and schema definition language parser and formatter for rust
as per spec https://spec.graphql.org/draft/#ExecutableDirectiveLocation directives can exist on `VARIABLE_DEFINITION` need to update this. https://github.com/graphql-rust/graphql-parser/blob/b322a1489ac124793f132b12675f7fd8b5c282d0/src/schema/ast.rs#L430-L453
Subj Most notable change is `combine::parser` doesn't accept functions that return `combine::ParseResult` so you have to convert it each time. Probably could just write own version that accepts `combine::ParseResult` to...
in the docs, you show the result of printing the AST -- what's the format of the data structure? It would be handy to look at. Is it just a...
I'm the maintainer of https://crates.io/crates/juniper-from-schema which uses graphql-parser to parse schemas at compile time and generate juniper code. Currently the error messages I generate look something like ``` error: proc...
Would you ever consider having a TypeName/StringValue AST node? This would help some tooling be more precise when it comes to the location of a certain node. Currently working on...
Currently arguments are represented as a tuple of name and value. I think they should be refactored as structs. Arguments: 1. Convenience of use, less re-typing same type signature. Named...
This shows alternative to approach to one in #26 and targets the problems stated in #25
I have a case where to clone structures like `Field`, I need to have an additional constraint for `T` to be `Clone`, which quickly proliferates through the codebase when `T`...
Hello, What is the expected ordering of parameters after parsing and formatting? The result I am seeing is somewhat unexpected - nested object keys are sorted alphanumerically but top-level parameters...