async-graphql/src/types
Koxiaet 47259548c4 Support service parsing in async-graphql-parser
- Instead of adding a separate module `schema` like there was before,
since service parsing and executable parsing have a fair amount of
overlap I put them as two submodules `executable` and `service` in both
`parse` and `types`. Also, the grammar is unified under one `.pest`
file.
- Added const equivalents to `Value`, `Directive` etc
- Change the reexport `async_graphql::Value` from
`async_graphql_parser::types::Value` to
`async_graphql_parser::types::ConstValue` since in 99% of cases in this library
a const value is wanted instead of a value.
- Added consistent usage of executable/service instead of the ambiguous
query/schema.
- Some of the tests actually had invalid GraphQL so the new more correct
grammar made them fail, that was fixed.
- Added a `Name` newtype to refer to GraphQL names
(`[A-Za-z_][A-Za-z_0-9]*`) since they are used so frequently.
2020-09-08 09:21:27 +01:00
..
connection Rustfmt 2020-09-06 07:16:36 +01:00
empty_mutation.rs Rustfmt 2020-09-06 07:16:36 +01:00
empty_subscription.rs Implements Default for Schema. 2020-08-28 14:19:35 +08:00
enum.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
list.rs Rustfmt 2020-09-06 07:16:36 +01:00
maybe_undefined.rs Update some docs 2020-05-28 22:18:15 +08:00
merged_object.rs Rustfmt 2020-09-06 07:16:36 +01:00
mod.rs Merge subscriptions #243 2020-08-27 15:35:48 +08:00
optional.rs Rustfmt 2020-09-06 07:16:36 +01:00
query_root.rs Rustfmt 2020-09-06 07:16:36 +01:00
upload.rs Rustfmt 2020-09-06 07:16:36 +01:00