Dylan Anthony
d0a5a50046
docs: Fix `&str` -> `ID` in fed docs
2022-09-23 11:58:30 -06:00
Dylan Anthony
9b79c2232b
docs: Fix more attributes in examples
2022-09-23 11:52:05 -06:00
Dylan Anthony
6193f24aae
docs: EmptyQuery isn't a thing
2022-09-23 11:42:19 -06:00
Dylan Anthony
4327c14e50
docs: Fix `#[SimpleObject]` in federation examples
2022-09-23 11:33:02 -06:00
Dylan Anthony
b0c14df9d2
docs: Remove tokio from examples
2022-09-23 11:15:22 -06:00
Dylan Anthony
d9c4399a1f
docs: Add imports to fed doc examples
2022-09-23 11:12:06 -06:00
Dylan Anthony
fb539f4d2c
docs: Update federation docs with examples of each directive
2022-09-22 17:48:15 -06:00
Sunli
7ecc91f3f0
Federation v1 is no longer supported
2022-09-22 23:34:49 +08:00
Sunli
6217ccb474
Merge pull request #1060 from raptros/add-link-directive
...
implement a simple approach to using the link directive
2022-09-22 23:23:04 +08:00
aidan coyne
2a5af41fec
add documentation about enabling link directive
2022-09-22 09:59:01 -05:00
aidan coyne
6575fd6741
Revert "default to printing the applicaiton of the link directive"
...
This reverts commit 64e6e7e7fa
.
2022-09-22 09:48:10 -05:00
aidan coyne
64e6e7e7fa
default to printing the applicaiton of the link directive
...
change to providing a method to opt-out of printing it.
2022-09-20 08:12:54 -05:00
Sunli
a65d3af054
Clippy clean
2022-09-20 09:33:16 +08:00
aidan coyne
66f8bb46b2
re-format
2022-09-19 16:19:29 -05:00
aidan coyne
c4530dd1bb
add a test for the printing of link directive
2022-09-19 16:14:21 -05:00
aidan coyne
89dca3e125
clean up some mistakes, ensure existing tests pass
2022-09-19 15:43:46 -05:00
aidan coyne
9e105f2628
implement a simple approach to using the link directive
...
this is probably the simple way to get the link directive in place for
federation 2 support - simply add a flag to the registry, and print out
a hardcoded link directive configured for the current needs of
async-graphql.
2022-09-19 15:43:46 -05:00
Sunli
0eb9cf12d2
Merge pull request #1074 from TaKO8Ki/remove-unnecessary-space
2022-09-17 09:33:46 +08:00
Takayuki Maeda
77288680ec
remove an unnecessary space
2022-09-16 18:17:27 +09:00
Sunli
388a00dc59
Release 4.0.13
...
async-graphql@4.0.13
async-graphql-actix-web@4.0.13
async-graphql-axum@4.0.13
async-graphql-derive@4.0.13
async-graphql-parser@4.0.13
async-graphql-poem@4.0.13
async-graphql-rocket@4.0.13
async-graphql-tide@4.0.13
async-graphql-value@4.0.13
async-graphql-warp@4.0.13
Generated by cargo-workspaces
2022-09-09 18:49:44 +08:00
Sunli
d65a782d55
Add `SDLExportOptions::include_specified_by` method to enable `specifiedBy` directive #1065
2022-09-09 18:48:24 +08:00
Sunli
fe9980e89c
Update CHANGELOG.md
2022-09-06 14:48:03 +08:00
Sunli
e4c8368892
Merge pull request #1062 from rsdy/test-codegen
...
Resurrect code generation through tests
2022-09-06 14:42:25 +08:00
Sunli
72c70e2532
Merge pull request #1049 from k-kinzal/support-primitive-type-for-cursor-type
...
Support for primitive type in CursorType
2022-09-06 09:41:59 +08:00
Sunli
9915b28b9b
Fixes #1063
2022-09-06 09:36:08 +08:00
rsdy
6035b94c73
Resurrect code generation through tests
2022-09-05 17:30:42 +01:00
Sunli
70049ae798
Add `no_cache` for `cache_control` attribute #1051
2022-09-02 15:09:44 +08:00
Sunli
732bc14e82
Update ci.yml
2022-09-01 23:20:53 +08:00
Sunli
438327b283
Update ci.yml
2022-09-01 23:04:40 +08:00
Sunli
03ad8e8699
Merge pull request #1057 from maraisr/maraisr/readmee-whopsie
...
docs: readme example be correct rust
2022-09-01 22:53:12 +08:00
Sunli
3f30286425
Remove `bson-uuid` feature #1032
2022-09-01 22:52:04 +08:00
Marais Rossouw
7116471eb2
docs: readme example be correct rust
2022-09-01 20:09:15 +10:00
Sunli
873c085c68
Update examples
2022-09-01 16:37:36 +08:00
Sunli
3751fe7d69
Merge pull request #1054 from maraisr/new-readme
...
docs: readme flair
2022-09-01 16:01:16 +08:00
Marais Rossouw
f88b24b4b7
docs: updates readme
2022-09-01 16:11:33 +10:00
Sunli
46b2763d80
Merge pull request #1048 from dspicher/compare-to-expected-schema
...
Compare to expected schema
2022-08-30 09:33:21 +08:00
Dominik Spicher
1e9d9820a8
export_sdl: add missing space before opening braces
2022-08-29 22:25:17 +02:00
Dominik Spicher
50d40b361e
tests/federation: compare export_sdl against expected schema
...
This commit adds logic to two unit tests where the schema
export is compared against expected output cached in two
schema files.
This is intended to help prevent bugs like the ones fixed in
116f6e4
or the immediately succeeding commit, as unexpected
changes to schema export will become apparent in the commit
diff, easing reviews.
When legitimately changing the export output behaviour,
the test suite just needs to be run twice, as the unit-tests
automatically overwrite the files with the new version.
This unit-test approach is inspired by
https://matklad.github.io/2022/03/26/self-modifying-code.html
2022-08-29 22:23:28 +02:00
Sunli
b2acefdf60
Merge pull request #1042 from onx2/onx2/dataloader-docs
...
Update Dataloader docs
2022-08-29 20:03:41 +08:00
cw-ozaki
d6605af62e
support for primitive type in CursorType
2022-08-29 15:36:05 +09:00
Sunli
8029df54d0
Release 4.0.12
...
async-graphql@4.0.12
async-graphql-actix-web@4.0.12
async-graphql-axum@4.0.12
async-graphql-derive@4.0.12
async-graphql-parser@4.0.12
async-graphql-poem@4.0.12
async-graphql-rocket@4.0.12
async-graphql-tide@4.0.12
async-graphql-value@4.0.12
async-graphql-warp@4.0.12
Generated by cargo-workspaces
2022-08-29 14:17:32 +08:00
Sunli
1e972064ac
Update MSRV to `1.59.0`
2022-08-29 13:54:36 +08:00
Sunli
1911461551
Merge pull request #1043 from dspicher/more-trailing-spaces
...
export_sdl: consistently avoid trailing spaces
2022-08-29 13:49:53 +08:00
Sunli
21c6129ade
Merge pull request #1041 from k-kinzal/support-specified-by-directive
...
support @specifiedBy directive in SDL export
2022-08-29 13:49:32 +08:00
Sunli
58817e9830
Merge pull request #1044 from bvanneerven/master
2022-08-28 20:49:38 +08:00
Bram van Neerven
d36c0282e2
changed <head>
2022-08-28 01:22:36 +02:00
Bram van Neerven
a337dc84ca
remove whitespace from source
2022-08-28 01:10:04 +02:00
Bram van Neerven
284eda781b
!DOCTYPE on same indentation level
2022-08-28 01:02:29 +02:00
Bram van Neerven
2f95c664a4
make clippy happy
2022-08-28 00:11:28 +02:00
Bram van Neerven
c10cdcf873
added GraphiQL v2
2022-08-27 23:35:08 +02:00