async-graphql/tests
Koxiaet ed5acdcf18 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
..
complexity_and_depth.rs Add tests to limit complexity and depth. 2020-05-05 13:46:56 +08:00
connection.rs Remove dependency on serde_derive, satisfy Clippy, improve docs 2020-08-31 19:18:02 +01:00
default_value.rs Add some tests for default value 2020-05-27 09:27:59 +08:00
derive.rs Fix issue with unwrapping derive attributes 2020-06-25 13:54:13 -07:00
directive.rs Add directive @ifdef 2020-08-06 14:52:54 +08:00
enum.rs Fix the test code and add docs. 2020-09-01 09:10:12 +08:00
federation.rs Add field guard 2020-05-02 07:57:34 +08:00
field_features.rs Add tests for feature attribute 2020-06-06 11:49:29 +08:00
fieldresult.rs Implement OutputType for FieldResult 2020-05-03 22:32:37 +08:00
fields_merge.rs Fixed a bug in fragment query. #114 2020-05-27 15:23:53 +08:00
guard.rs Add PostGuard. #129 2020-06-03 14:50:06 +08:00
input_object.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
input_validators.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
input_value.rs Replace Value::Int and Value::Float with Value::Number. 2020-07-29 09:42:52 +08:00
interface.rs Remove ref attribute for SimpleObject fields, and add owned attribute. 2020-06-23 14:42:57 +08:00
introspection.rs Remove dependency on serde_derive, satisfy Clippy, improve docs 2020-08-31 19:18:02 +01:00
json_type.rs Add OutputJson type #203 2020-07-08 14:44:57 +08:00
list.rs fix #33 2020-04-27 12:57:52 +08:00
maybe_undefined.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
merged_object.rs Merge subscriptions #243 2020-08-27 15:35:48 +08:00
mut_args.rs Add support for mut field args. 2020-08-17 21:48:53 +08:00
mutation.rs Use FieldResult for data(), add data_unchecked() for panic 2020-07-06 17:39:53 -07:00
optional.rs Fix the test code and add docs. 2020-09-01 09:10:12 +08:00
post_guard.rs Remove ref attribute for SimpleObject fields, and add owned attribute. 2020-06-23 14:42:57 +08:00
raw_ident.rs Correct handling of raw identifiers #195 2020-07-02 10:25:20 +08:00
schema.rs Implements Default for Schema. 2020-08-28 14:19:35 +08:00
subscription_websocket.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
subscription.rs Use FieldResult for data(), add data_unchecked() for panic 2020-07-06 17:39:53 -07:00
union.rs Remove ref attribute for SimpleObject fields, and add owned attribute. 2020-06-23 14:42:57 +08:00
variables.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00