Commit Graph

938 Commits

Author SHA1 Message Date
Sunli fe966c9bdb Change `SchemaBuilder::enable_suggestions` to `disable_suggestions` 2022-10-07 16:47:55 +08:00
Sunli bbe59e5372 Add `SchemaBuilder::enable_suggestions` method to enable or disable field suggestions. #1101 2022-10-04 22:40:59 +08:00
Sunli 57d592b250 Skip tracing for introspection queries #841 2022-10-01 16:17:27 +08:00
Marie Ramlow 128a3de7c5 implement dynamic title for graphql playground 2022-09-30 14:20:04 +00:00
Marie Ramlow 9586a7200b implement dynamic title for graphiql_v2 2022-09-30 14:19:18 +00:00
Sunli e364eca0ba Add documents for registry types 2022-09-30 10:45:31 +08:00
Sunli 053c1178c2 Add support for parse request from query string #1085 2022-09-25 12:10:52 +08:00
Sunli efb05693c1 Federation v1 is no longer supported 2022-09-22 23:34:49 +08:00
aidan coyne 2803cf3128 Revert "default to printing the applicaiton of the link directive"
This reverts commit 393184a23c.
2022-09-22 09:48:10 -05:00
aidan coyne 393184a23c 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
aidan coyne 406c6906b7 re-format 2022-09-19 16:19:29 -05:00
aidan coyne 95b4e613b1 clean up some mistakes, ensure existing tests pass 2022-09-19 15:43:46 -05:00
aidan coyne 3c6076a469 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
Takayuki Maeda 2f89eb4119 remove an unnecessary space 2022-09-16 18:17:27 +09:00
Sunli f83d0a34d0 Add `SDLExportOptions::include_specified_by` method to enable `specifiedBy` directive #1065 2022-09-09 18:48:24 +08:00
Sunli c0e4c2a514 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 4d2f96b1d8 Fixes #1063 2022-09-06 09:36:08 +08:00
Sunli 69d8c3e26e Add `no_cache` for `cache_control` attribute #1051 2022-09-02 15:09:44 +08:00
Sunli ee89321b57 Remove `bson-uuid` feature #1032 2022-09-01 22:52:04 +08:00
Dominik Spicher e427783936 export_sdl: add missing space before opening braces 2022-08-29 22:25:17 +02:00
cw-ozaki 799710d78c support for primitive type in CursorType 2022-08-29 15:36:05 +09: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
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
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
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
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
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 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 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
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
Damien Pontifex 66271a54bd first passing build with shareable 2022-08-17 09:29:43 +08:00
cw-ozaki 3364d77bd5 fixes lost when request.data(X) in an extension 2022-08-12 20:34:46 +09:00
Sunli e4c3da6ae9 Clippy clean 2022-08-12 14:05:46 +08:00
Sunli 1f479c5211 Release 4.0.8
async-graphql@4.0.8
async-graphql-actix-web@4.0.8
async-graphql-axum@4.0.8
async-graphql-derive@4.0.8
async-graphql-parser@4.0.8
async-graphql-poem@4.0.8
async-graphql-rocket@4.0.8
async-graphql-tide@4.0.8
async-graphql-value@4.0.8
async-graphql-warp@4.0.8

Generated by cargo-workspaces
2022-08-12 13:17:04 +08:00
Sunli da7c6ba652 Merge pull request #996 from Dig-Doug/dataloader-tracing
Add tracing to dataloader methods when the tracing feature is enabled.
2022-08-09 22:11:06 +08:00
Sunli d339e011fa Limits the recursion depth of the parser. 2022-08-09 11:06:20 +08:00