async-graphql/src/validation/rules
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
..
arguments_of_correct_type.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
default_values_of_correct_type.rs Rewrite async-graphql-parser 2020-09-06 06:38:31 +01:00
fields_on_correct_type.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
fragments_on_composite_types.rs Rewrite async-graphql-parser 2020-09-06 06:38:31 +01:00
known_argument_names.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
known_directives.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
known_fragment_names.rs Rustfmt 2020-09-06 07:16:36 +01:00
known_type_names.rs Rustfmt 2020-09-06 07:16:36 +01:00
lone_anonymous_operation.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
mod.rs Add some test, modified from juniper 2020-04-05 16:00:26 +08:00
no_fragment_cycles.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
no_undefined_variables.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
no_unused_fragments.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
no_unused_variables.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
overlapping_fields_can_be_merged.rs Rustfmt 2020-09-06 07:16:36 +01:00
possible_fragment_spreads.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
provided_non_null_arguments.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
scalar_leafs.rs Rewrite async-graphql-parser 2020-09-06 06:38:31 +01:00
unique_argument_names.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
unique_fragment_names.rs Rewrite async-graphql-parser 2020-09-06 06:38:31 +01:00
unique_operation_names.rs Rewrite async-graphql-parser 2020-09-06 06:38:31 +01:00
unique_variable_names.rs Rewrite async-graphql-parser 2020-09-06 06:38:31 +01:00
upload_file.rs Rustfmt 2020-09-06 07:16:36 +01:00
variables_are_input_types.rs Rewrite async-graphql-parser 2020-09-06 06:38:31 +01:00
variables_in_allowed_position.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00