Commit Graph

924 Commits

Author SHA1 Message Date
Sunli
d65a782d55 Add SDLExportOptions::include_specified_by method to enable specifiedBy directive #1065 2022-09-09 18:48:24 +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
Sunli
70049ae798 Add no_cache for cache_control attribute #1051 2022-09-02 15:09:44 +08:00
Sunli
3f30286425 Remove bson-uuid feature #1032 2022-09-01 22:52:04 +08:00
Dominik Spicher
1e9d9820a8 export_sdl: add missing space before opening braces 2022-08-29 22:25:17 +02:00
cw-ozaki
d6605af62e support for primitive type in CursorType 2022-08-29 15:36:05 +09: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
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
Dominik Spicher
bc98a46deb export_sdl: consistently avoid trailing spaces
116f6e48 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
bf73d849ea support @specifiedBy directive in SDL export 2022-08-24 23:01:52 +09:00
Sunli
337279f6c7 Add OpaqueCursor #1040 2022-08-24 13:17:08 +08:00
Dominik Spicher
116f6e48be export_sdl: avoid trailing space for scalar definitions
This has been introduced in 619013d.

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
6f66a052e3 fix: cargo clippy 2022-08-22 12:01:07 +02:00
Nicolas Moutschen
c334adfaf2 docs: add doc for tag attribute 2022-08-22 11:52:05 +02:00
Nicolas Moutschen
2ffee68ad4 feat: add @tag support 2022-08-22 11:44:02 +02:00
aidan coyne
2bac140833 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
4877917145
Merge pull request #1026 from nmoutschen/fed2-inaccessible
Add Apollo Federation `@inaccessible` directive support
2022-08-18 21:38:06 +08:00
Sunli
4c6242eaae
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
ca65034ec1 fix: cargo +nightly fmt 2022-08-18 15:12:28 +02:00
Nicolas Moutschen
570db3c9f8 docs: add docs for inaccessible directive 2022-08-18 14:31:01 +02:00
Nicolas Moutschen
619013d90c feat: @inaccessible support 2022-08-18 11:40:04 +02:00
Damien Pontifex
fd84222e98 all columns for docs tables 2022-08-17 11:57:46 +08:00
Damien Pontifex
348692e15b notes on docs for the shareable attribute 2022-08-17 10:41:46 +08:00
Damien Pontifex
4bdd28d966 additions so type can also be shareable as well as field 2022-08-17 10:36:00 +08:00
Damien Pontifex
9e9493e232 first passing build with shareable 2022-08-17 09:29:43 +08:00
cw-ozaki
258ab70268 fixes lost when request.data(X) in an extension 2022-08-12 20:34:46 +09:00
Sunli
37f18855e3 Clippy clean 2022-08-12 14:05:46 +08:00
Sunli
4858245a21 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
886594ba14
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
1f67e3adcd Limits the recursion depth of the parser. 2022-08-09 11:06:20 +08:00
Doug Roeper
9649c43bd7
Add tracing to dataloader methods when the tracing feature is enabled. 2022-07-28 09:33:23 -04:00
Sunli
521769b800 Limit recursive depth to 256 by default 2022-07-21 10:14:40 +08:00
Sunli
2a6abe7cae Implement Default for StringNumber #980 2022-07-13 15:21:41 +08:00
Edward Rudd
036c165644
Fix serializing of JSON default values (#969)
* Fix serializing of JSON default values

* fix format of other code due to new nightly
2022-07-05 06:55:01 +08:00
Edward Rudd
7aba2011c2
Fix nightly rustfmt (#970)
* fix format of other code due to new nightly

* Adjust github fmt checks to use a fixed nightly version
2022-07-05 06:54:07 +08:00
Sunli
e839ffafcc Implement Guard for Fn 2022-06-30 10:50:45 +08:00
Sunli
687f26bb79 Fixes #943 2022-06-25 10:56:17 +08:00
Sunli
f8db3d180c Clippy 2022-06-25 10:23:48 +08:00
Ivan Kozik
2d79376c8d
Add a prefer_single_line_descriptions option on SDLExportOptions (#955)
* Add a prefer_single_line_descriptions option on SDLExportOptions

The default export uses three lines for each description. Single-line
descriptions improve the readability of the exported SDL when there are
many short descriptions.

* export_sdl: escape " in single-line descriptions

I confirmed that graphql-code-generator properly handles SDL with this escaping.
2022-06-25 10:21:00 +08:00
Sunli
614a578a3f Fixes #957 2022-06-21 13:58:00 +08:00
Sunli
afc87f2dc8 Update CHANGELOG 2022-06-20 13:54:33 +08:00
iffy-validio
1e555370e0
Make email-validator optional (#950) 2022-06-17 00:23:47 +08:00
Edward Rudd
8ccd27e62d
add nodes exposure on ConectionType so nesting through edges isn't always needed. (#952) 2022-06-17 00:12:07 +08:00
Kian-Meng Ang
a210f64426
Fix typos (#951) 2022-06-15 22:18:39 +08:00