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
Koxiaet
9ad4e8c1a8
Merge branch 'master' into master
2020-09-06 07:20:18 +01:00
Koxiaet
e3e58d261d
Rewrite async-graphql-parser
2020-09-06 06:38:31 +01:00
Sunli
b7163d4f92
Release 1.17.21
...
async-graphql@1.17.21
async-graphql-derive@1.17.21
Generated by cargo-workspaces
2020-09-03 20:25:33 +08:00
Sunli
b5d7944968
Remove debug code.
2020-09-03 20:23:35 +08:00
Sunli
4081643f91
Release 1.17.19
...
async-graphql@1.17.19
async-graphql-derive@1.17.19
Generated by cargo-workspaces
2020-09-03 20:01:12 +08:00
Sunli
366c7c03da
Add flatten type field support for input objects. #255
2020-09-03 20:00:33 +08:00
Sunli
1ad2a32f44
Release 1.17.11
...
async-graphql@1.17.11
async-graphql-derive@1.17.11
Generated by cargo-workspaces
2020-08-27 15:38:13 +08:00
Sunli
7fef4e3dca
Merge subscriptions #243
2020-08-27 15:35:48 +08:00
Sunli
1eff8d4ac4
Release 1.17.10
...
async-graphql@1.17.10
async-graphql-derive@1.17.10
Generated by cargo-workspaces
2020-08-17 21:50:42 +08:00
Sunli
01e3e85684
Add support for mut field args.
2020-08-17 21:48:53 +08:00
Sunli
c4247fd495
Release 1.17.6
...
async-graphql@1.17.6
async-graphql-derive@1.17.6
Generated by cargo-workspaces
2020-08-10 14:15:50 +08:00
Sunli
d280a13b70
Add derive macro GQLMergeObject. #231
2020-08-10 14:11:46 +08:00
Sunli
bd706fb174
Release 1.17.5
...
async-graphql@1.17.5
async-graphql-derive@1.17.5
Generated by cargo-workspaces
2020-08-10 10:53:42 +08:00
Sunli
d7248e149f
Add Default impl for MergedObject. #231
2020-08-10 10:47:30 +08:00
Sunli
6744db6103
Release 1.17.4
...
async-graphql@1.17.4
async-graphql-derive@1.17.4
async-graphql-tide@1.17.4
Generated by cargo-workspaces
2020-08-09 15:05:56 +08:00
Sunli
dd7c64fc7a
Add MergedObject type. #231
2020-08-09 15:03:10 +08:00
Sunli
5cdb2a99b8
Release 1.17.3
...
async-graphql@1.17.3
async-graphql-actix-web@1.17.3
async-graphql-derive@1.17.3
async-graphql-parser@1.17.3
async-graphql-tide@1.17.3
async-graphql-warp@1.17.3
chat@1.17.3
graphql-benchmark@1.17.3
simple@1.17.3
Generated by cargo-workspaces
2020-08-06 14:54:22 +08:00
Sunli
5e92faf2a9
Release 1.17.2
2020-08-04 13:37:43 +08:00
Sunli
1634bcd7e0
Release 1.17.1
...
async-graphql@1.17.1
async-graphql-actix-web@1.17.1
async-graphql-derive@1.17.1
async-graphql-parser@1.17.1
async-graphql-tide@1.17.1
async-graphql-warp@1.17.1
chat@1.17.1
graphql-benchmark@1.17.1
simple@1.17.1
Generated by cargo-workspaces
2020-08-04 13:34:36 +08:00
Sunli
41aa50eb0e
Release 1.17.0
...
async-graphql@1.17.0
async-graphql-actix-web@1.17.0
async-graphql-derive@1.17.0
async-graphql-tide@1.17.0
async-graphql-warp@1.17.0
Generated by cargo-workspaces
2020-08-02 11:48:25 +08:00
Sunli
3d7594bac1
Removes code about streaming requests.
2020-07-31 10:10:03 +08:00
Sunli
96c9d1a8c8
Release 1.16.10
...
async-graphql@1.16.10
async-graphql-actix-web@1.16.10
async-graphql-derive@1.16.10
async-graphql-parser@1.16.10
async-graphql-tide@1.16.10
async-graphql-warp@1.16.10
Generated by cargo-workspaces
2020-07-17 10:15:25 +08:00
Sunli
fcf9477fc2
Fix Federation schema throws error while using multiple Option inputs #211
2020-07-17 10:14:40 +08:00
Sunli
c7c4de94ed
Replace log crate with xlog.
2020-07-15 18:05:24 +08:00
Sunli
6b3dbf6ac8
Release 1.16.6
...
async-graphql@1.16.6
async-graphql-actix-web@1.16.6
async-graphql-derive@1.16.6
async-graphql-parser@1.16.6
async-graphql-tide@1.16.6
async-graphql-warp@1.16.6
Generated by cargo-workspaces
2020-07-08 08:26:41 +08:00
Sunli
0e4cf86884
Release 1.16.5
...
async-graphql@1.16.5
async-graphql-derive@1.16.5
Generated by cargo-workspaces
2020-07-03 09:45:12 +08:00
Sunli
942657a7ec
Turn off some warnings in code generated.
2020-07-03 09:41:26 +08:00
Sunli
7ebdb9d092
Release 1.16.4
...
async-graphql@1.16.4
async-graphql-actix-web@1.16.4
async-graphql-derive@1.16.4
async-graphql-tide@1.16.4
async-graphql-warp@1.16.4
Generated by cargo-workspaces
2020-07-02 10:29:52 +08:00
Sunli
98e431fed0
Correct handling of raw identifiers #195
2020-07-02 10:25:20 +08:00
Sunli
c4b292fe70
Release 1.16.3
...
async-graphql@1.16.3
async-graphql-derive@1.16.3
Generated by cargo-workspaces
2020-06-30 16:14:36 +08:00
Sunli
b61c002796
Fix Subscriptions issue: "multiple applicable items in scope" #194
2020-06-30 16:14:09 +08:00
Sunli
9f270d1d33
Release 1.16.2
...
async-graphql@1.16.2
async-graphql-derive@1.16.2
async-graphql-warp@1.16.2
Generated by cargo-workspaces
2020-06-30 08:12:25 +08:00
Sunli
1421a02d28
Add #[allow(clippy::all, clippy::pedantic)]
for all macros generated code. #192
2020-06-28 14:28:53 +08:00
Sunli
fac28071d2
Release 1.16.1
...
async-graphql@1.16.1
async-graphql-actix-web@1.16.1
async-graphql-derive@1.16.1
async-graphql-tide@1.16.1
async-graphql-warp@1.16.1
Generated by cargo-workspaces
2020-06-26 09:54:16 +08:00
Blaine Bublitz
1c861ee80b
Fix issue with unwrapping derive attributes
2020-06-25 13:54:13 -07:00
Sunli
ed3f0f1948
Use fully qualified paths in macro expansion #186
2020-06-24 14:04:48 +08:00
Sunli
5a6d477626
Release 1.16.0
...
async-graphql@1.16.0
async-graphql-derive@1.16.0
Generated by cargo-workspaces
2020-06-23 14:43:57 +08:00
Sunli
c8409e1a00
Remove ref
attribute for SimpleObject fields, and add owned
attribute.
2020-06-23 14:42:57 +08:00
Sunli
d208342168
Release 1.15.15
...
async-graphql@1.15.15
async-graphql-derive@1.15.15
Generated by cargo-workspaces
2020-06-19 13:05:17 +08:00
Sunli
cd5534c8a1
Update object.rs
2020-06-19 12:49:45 +08:00
Sunli
b24a94a3f5
Add support for extending an entity with computed fields (advanced) #180
2020-06-19 12:37:52 +08:00
Sunli
064c136284
Release 1.15.12
...
async-graphql@1.15.12
async-graphql-derive@1.15.12
Generated by cargo-workspaces
2020-06-15 14:20:09 +08:00
Sunli
cda4498979
Remove all datasource-related code and update the documentation.
2020-06-15 14:17:19 +08:00
Sunli
1124124099
Release 1.15.10
...
async-graphql@1.15.10
async-graphql-derive@1.15.10
Generated by cargo-workspaces
2020-06-15 09:29:06 +08:00
Sunli
12e8cf4bce
Release 1.15.7
...
async-graphql@1.15.7
async-graphql-derive@1.15.7
Generated by cargo-workspaces
2020-06-13 10:47:57 +08:00
Sunli
32ced9b89b
Release 1.15.6
...
async-graphql@1.15.6
async-graphql-derive@1.15.6
Generated by cargo-workspaces
2020-06-12 10:06:29 +08:00
William Myers
76a0f66751
Add allow(unused_braces, unused_parens) attribute
...
This fixes false positive warnings for the stable compiler.
2020-06-11 14:36:38 -06:00
Sunli
2e9557ff1c
Release 1.15.5
...
async-graphql@1.15.5
async-graphql-derive@1.15.5
Generated by cargo-workspaces
2020-06-11 15:09:59 +08:00
Sunli
538b7e0646
Add GQLInterface and GQLUnion
2020-06-11 15:08:51 +08:00