async-graphql/src/scalars
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
..
any.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
bool.rs Implement a type-safe default value definition for InputValue. #111 2020-05-26 20:43:53 +08:00
bson.rs Upgrade bson crate. 2020-06-06 12:38:15 -04:00
chrono_tz.rs Implement a type-safe default value definition for InputValue. #111 2020-05-26 20:43:53 +08:00
datetime.rs Add DateTime<Local> scalar. 2020-08-31 16:12:12 +08:00
floats.rs Add DateTime<Local> scalar. 2020-08-31 16:12:12 +08:00
id.rs Implement Into<ID> for all integer types. 2020-09-06 12:33:57 +08:00
integers.rs Add DateTime<Local> scalar. 2020-08-31 16:12:12 +08:00
json.rs Support service parsing in async-graphql-parser 2020-09-08 09:21:27 +01:00
mod.rs Add DateTime<Local> scalar. 2020-08-31 16:12:12 +08:00
naive_time.rs Add scalar type for NaiveDateTime. #237 2020-08-14 15:28:42 +08:00
string.rs Rustfmt 2020-09-06 07:16:36 +01:00
url.rs Implement a type-safe default value definition for InputValue. #111 2020-05-26 20:43:53 +08:00
uuid.rs Implement a type-safe default value definition for InputValue. #111 2020-05-26 20:43:53 +08:00