Commit Graph

906 Commits

Author SHA1 Message Date
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
Doug Roeper
f1a29fca24 Add tracing to dataloader methods when the tracing feature is enabled. 2022-07-28 09:33:23 -04:00
Sunli
07c1a2e684 Limit recursive depth to 256 by default 2022-07-21 10:14:40 +08:00
Sunli
fc30e51381 Implement Default for StringNumber #980 2022-07-13 15:21:41 +08:00
Edward Rudd
5f443fe532 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
cb780f3f6c 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
a19298beaf Implement Guard for Fn 2022-06-30 10:50:45 +08:00
Sunli
c129cf57d6 Fixes #943 2022-06-25 10:56:17 +08:00
Sunli
79e10a221d Clippy 2022-06-25 10:23:48 +08:00
Ivan Kozik
5b7303d3fe 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
6f7ffa9e6b Fixes #957 2022-06-21 13:58:00 +08:00
Sunli
b973d3a21d Update CHANGELOG 2022-06-20 13:54:33 +08:00
iffy-validio
9862a473b5 Make email-validator optional (#950) 2022-06-17 00:23:47 +08:00
Edward Rudd
a445606e5a 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
359f1ed23b Fix typos (#951) 2022-06-15 22:18:39 +08:00
Sunli
933a818afb Fixes #946 2022-06-10 18:55:12 +08:00
Sunli
900167d300 Fixes #848 2022-06-06 12:08:59 +08:00
Sunli
144c773cd7 Fixes #941 2022-06-06 11:20:48 +08:00
Sunli
a6ee66b749 Rustfmt 2022-06-06 11:18:12 +08:00
Sunli
dd45449de3 Merge pull request #931 from DoumanAsh/introspection_mode
Expose IntrospectionMode
2022-06-06 09:48:05 +08:00
Sunli
45c48fc840 Update docs 2022-05-30 09:34:53 +08:00
Sunli
8388f75a82 Fix typo 2022-05-30 09:30:03 +08:00
Hsiang-Cheng Yang
0e3f634176 Update edge.rs
remove the unnecessary quotation mark
2022-05-27 22:11:54 +08:00
Sunli
fed2734e58 Merge pull request #926 from al8n/master
fix #925 support BigDecimal and support parse from Number for Decimal
2022-05-27 15:19:57 +08:00
Douman
b1a17a5542 Expose Edge::node to allow better testing 2022-05-27 14:18:13 +09:00
Douman
7e692356e2 Export SDLExportOptions 2022-05-27 14:04:56 +09:00
Douman
bf054b0872 Expose IntrospectionMode 2022-05-27 12:54:40 +09:00
Sunli
d0bb37f419 Add Schema::build_with_ignore_name_conflicts method to specifies a list to ignore type conflict detection. 2022-05-24 20:08:35 +08:00
al8n
2da09de179 fix format 2022-05-21 13:55:58 +08:00
al8n
318c3dfc97 fix #925 support bigdecimal 2022-05-20 22:05:10 +08:00
Sunli
da725575bd Cache parsed ExecuteDocument in APQ. #919 2022-05-13 18:17:03 +08:00
Sunli
5ad9f497d8 Remove code and tests related oneof fields. #915 2022-05-07 16:16:01 +08:00
Sunli
96e423ff31 Fixes #911 2022-05-06 09:28:57 +08:00