Commit Graph

2338 Commits

Author SHA1 Message Date
Sunli dbaa3291b7 Merge pull request #1057 from maraisr/maraisr/readmee-whopsie
docs: readme example be correct rust
2022-09-01 22:53:12 +08:00
Sunli ee89321b57 Remove `bson-uuid` feature #1032 2022-09-01 22:52:04 +08:00
Marais Rossouw 642cccb5fe docs: readme example be correct rust 2022-09-01 20:09:15 +10:00
Sunli a50f65b920 Update examples 2022-09-01 16:37:36 +08:00
Sunli a1ca9bf981 Merge pull request #1054 from maraisr/new-readme
docs: readme flair
2022-09-01 16:01:16 +08:00
Marais Rossouw 3fa05e4b83 docs: updates readme 2022-09-01 16:11:33 +10:00
Sunli c83fd06c9b Merge pull request #1048 from dspicher/compare-to-expected-schema
Compare to expected schema
2022-08-30 09:33:21 +08:00
Dominik Spicher e427783936 export_sdl: add missing space before opening braces 2022-08-29 22:25:17 +02:00
Dominik Spicher b020ce5aee 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
faf407b 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 3ae4c7ca7a Merge pull request #1042 from onx2/onx2/dataloader-docs
Update Dataloader docs
2022-08-29 20:03:41 +08:00
cw-ozaki 799710d78c support for primitive type in CursorType 2022-08-29 15:36:05 +09:00
Sunli de559b950f 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 9ff4307cc5 Update MSRV to `1.59.0` 2022-08-29 13:54:36 +08:00
Sunli d31cef270b Merge pull request #1043 from dspicher/more-trailing-spaces
export_sdl: consistently avoid trailing spaces
2022-08-29 13:49:53 +08:00
Sunli 895f3195be 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 521193f6b6 Merge pull request #1044 from bvanneerven/master 2022-08-28 20:49:38 +08:00
Bram van Neerven 8e154cd6ac changed <head> 2022-08-28 01:22:36 +02:00
Bram van Neerven e5cf24ae54 remove whitespace from source 2022-08-28 01:10:04 +02:00
Bram van Neerven 6d3de2c74b !DOCTYPE on same indentation level 2022-08-28 01:02:29 +02:00
Bram van Neerven d83b778cad make clippy happy 2022-08-28 00:11:28 +02:00
Bram van Neerven bbda23bafb added GraphiQL v2 2022-08-27 23:35:08 +02:00
Dominik Spicher 4755f93e20 export_sdl: consistently avoid trailing spaces
faf407b6 modified the SDL export for scalars not to
incur trailing spaces. Unfortunately this occurs for
other types as well. This commit takes care of the
remaining occurrences and adds assertions to unit-tests
where an SDL is already available.
2022-08-25 15:36:37 +02:00
Jeffrey Rooks 17fef719e2 Add more information to dataloader docs
remove example
2022-08-24 23:14:39 +01:00
cw-ozaki 5b7790b256 support @specifiedBy directive in SDL export 2022-08-24 23:01:52 +09:00
Sunli fca337d8a0 Add OpaqueCursor #1040 2022-08-24 13:17:08 +08:00
Sunli d26df5c402 Release 4.0.11
async-graphql@4.0.11
async-graphql-actix-web@4.0.11
async-graphql-axum@4.0.11
async-graphql-derive@4.0.11
async-graphql-parser@4.0.11
async-graphql-poem@4.0.11
async-graphql-rocket@4.0.11
async-graphql-tide@4.0.11
async-graphql-value@4.0.11
async-graphql-warp@4.0.11

Generated by cargo-workspaces
2022-08-23 23:04:12 +08:00
Sunli c0d11292bd Update CHANGELOG.md 2022-08-23 23:03:02 +08:00
Sunli 9ef1edad80 Merge pull request #1036 from dspicher/trailing-space 2022-08-23 19:59:43 +08:00
Dominik Spicher faf407b691 export_sdl: avoid trailing space for scalar definitions
This has been introduced in 06973ee.

The problem can easily be avoided by modifying the `write!`
directives inside the federation if-clause to write space
prefixes instead of suffixes.
2022-08-23 12:44:30 +02:00
Sunli 9dd3ec894f Fixes #1039 2022-08-23 09:41:50 +08:00
Sunli bd39025975 Merge pull request #1038 from nmoutschen/fed2-tag 2022-08-22 20:54:43 +08:00
Nicolas Moutschen d3a8cde256 fix: cargo clippy 2022-08-22 12:01:07 +02:00
Nicolas Moutschen 4937dcf93d docs: add doc for tag attribute 2022-08-22 11:52:05 +02:00
Nicolas Moutschen 15afe01f7a feat: add @tag support 2022-08-22 11:44:02 +02:00
Sunli 0dae68b518 Merge pull request #1029 from raptros/add-overrides-directive
define override directive on fields
2022-08-22 14:33:29 +08:00
aidan coyne 6f57a13b71 define override directive on fields
* define the directive field on the field struct
* implement printing it on the federation sdl
* update the derive stuff
* add a test
2022-08-20 15:22:12 -05:00
Sunli f84781bf08 Create close-stale-prs-and-issues.yml 2022-08-19 09:42:13 +08:00
sunli829 1e8ecc74a4 Release 4.0.10
async-graphql@4.0.10
async-graphql-actix-web@4.0.10
async-graphql-axum@4.0.10
async-graphql-derive@4.0.10
async-graphql-parser@4.0.10
async-graphql-poem@4.0.10
async-graphql-rocket@4.0.10
async-graphql-tide@4.0.10
async-graphql-value@4.0.10
async-graphql-warp@4.0.10

Generated by cargo-workspaces
2022-08-18 21:50:06 +08:00
sunli829 42c1d9f66f Update CHANGELOG 2022-08-18 21:46:58 +08:00
Sunli 695ea81c2f Merge pull request #1026 from nmoutschen/fed2-inaccessible
Add Apollo Federation `@inaccessible` directive support
2022-08-18 21:38:06 +08:00
Sunli 09eb2317e2 Merge pull request #1018 from k-kinzal/fixes-lost-request-data-in-extension
Fixes extension request.data(X) being lost in the resolver
2022-08-18 21:36:25 +08:00
Nicolas Moutschen 7ddde89cc5 fix: cargo +nightly fmt 2022-08-18 15:12:28 +02:00
Nicolas Moutschen 0f8b2c52bd tests: add inaccessible case for Object macro 2022-08-18 14:31:27 +02:00
Nicolas Moutschen dd4515c18f docs: add docs for inaccessible directive 2022-08-18 14:31:01 +02:00
Nicolas Moutschen 06973ee09b feat: @inaccessible support 2022-08-18 11:40:04 +02:00
Sunli 0204709de9 Merge pull request #1025 from damienpontifex/federation-shareable 2022-08-17 14:50:56 +08:00
Damien Pontifex b6fb42669b cargo fmt 2022-08-17 13:47:31 +08:00
Damien Pontifex e4e53a5a0c all columns for docs tables 2022-08-17 11:57:46 +08:00
Damien Pontifex e3efb1dfd8 notes on docs for the shareable attribute 2022-08-17 10:41:46 +08:00
Damien Pontifex be19b76d5d additions so type can also be shareable as well as field 2022-08-17 10:36:00 +08:00