Commit Graph

180 Commits

Author SHA1 Message Date
Dylan Anthony
ed99baef46 docs: Fix &str -> ID in fed docs 2022-09-23 11:58:30 -06:00
Dylan Anthony
084779af36 docs: Fix more attributes in examples 2022-09-23 11:52:05 -06:00
Dylan Anthony
80eb21af64 docs: EmptyQuery isn't a thing 2022-09-23 11:42:19 -06:00
Dylan Anthony
60eeafe323 docs: Fix #[SimpleObject] in federation examples 2022-09-23 11:33:02 -06:00
Dylan Anthony
ffa25cecf5 docs: Remove tokio from examples 2022-09-23 11:15:22 -06:00
Dylan Anthony
39b6565497 docs: Add imports to fed doc examples 2022-09-23 11:12:06 -06:00
Dylan Anthony
ed9329cc41 docs: Update federation docs with examples of each directive 2022-09-22 17:48:15 -06:00
Sunli
efb05693c1 Federation v1 is no longer supported 2022-09-22 23:34:49 +08:00
aidan coyne
a1534072d1 add documentation about enabling link directive 2022-09-22 09:59:01 -05:00
Jeffrey Rooks
17fef719e2 Add more information to dataloader docs
remove example
2022-08-24 23:14:39 +01:00
Nicolas Moutschen
4937dcf93d docs: add doc for tag attribute 2022-08-22 11:52:05 +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
Nicolas Moutschen
dd4515c18f docs: add docs for inaccessible directive 2022-08-18 14:31:01 +02:00
Damien Pontifex
be19b76d5d additions so type can also be shareable as well as field 2022-08-17 10:36:00 +08:00
Sunli
339df7c934 Release 4.0.7
async-graphql@4.0.7
async-graphql-actix-web@4.0.7
async-graphql-axum@4.0.7
async-graphql-derive@4.0.7
async-graphql-parser@4.0.7
async-graphql-poem@4.0.7
async-graphql-rocket@4.0.7
async-graphql-tide@4.0.7
async-graphql-value@4.0.7
async-graphql-warp@4.0.7

Generated by cargo-workspaces
2022-08-09 17:20:04 +08:00
Greg Pstrucha
947c1946f0 Add small section about redacting data from input objects (#1013) 2022-08-09 09:05:31 +08:00
Fabien Penso
bc3d967942 Fix typo (#973) 2022-07-10 08:37:52 +08:00
Kian-Meng Ang
359f1ed23b Fix typos (#951) 2022-06-15 22:18:39 +08:00
Edward Rudd
3b7ed74d11 correct doc examples so they compile
- examples to fix still
  - error_extensions.md ResultExt example does not compile!
     - trait ErrorExtensions is not implemented for ParseIntError
  - dataloader
     - requires sqlx to work. So we either "stub" it OR we rewrite them simpler to use a  simple "faux" db library
2022-06-02 17:32:12 -04:00
Sunli
fb6a8b29e6 Merge branches 'master' and 'master' of github.com:async-graphql/async-graphql 2022-05-27 15:23:53 +08:00
Sunli
5575485c29 Update book 2022-05-27 15:20:58 +08:00
Douman
2a0a52011c Update book to connection changes in 4.x.y 2022-05-27 12:53:09 +09:00
Bram van Neerven
0879976df2 added docs for OneofObject 2022-05-07 13:37:11 +02:00
Stephen Wicklund
5efb65c448 Added instructions for returning errors from subscription resolvers
^Title.

The example code in my comment is fairly long, so I just linked to it rather than filling the page with it (also because my solution for changing the error-type within the resolver is probably more verbose than needed).
2022-04-06 20:21:02 -07:00
Maciej Zwoliński
38725bad2a Correct import path for cursor connection in docs 2022-03-02 11:33:55 +01:00
Sunli
854a1ba2ac Merge pull request #844 from kolloch/patch-1
custom_scalars: i64 not encoded as string
2022-02-27 09:48:07 +08:00
azzamsa
a01e60e85c docs: update method name 2022-02-24 06:09:32 +07:00
Peter Kolloch
40b525c9f8 custom_scalars: i64 not encoded as string
Remove the note that incorrectly claims that i64 are encoded as strings.

Also see https://github.com/async-graphql/async-graphql/issues/196
2022-02-23 16:54:39 +01:00
Florian Peter
dc8faf1313 Nit: Fix typos in define_complex_object.mx 2022-02-17 18:55:41 +00:00
Joe Zhou
4474bff19f Update depth_and_complexity.md 2022-01-18 12:07:23 -05:00
Sunli
9cced48733 Update book 2021-12-09 20:20:51 +08:00
Sunli
14edb25d99 Update book 2021-12-09 10:07:11 +08:00
Sunli
167426175f Update book #736 2021-12-02 20:22:11 +08:00
Sunli
86f10c5397 Fix the custom validator cannot work on Option<Vec<T>>. 2021-11-30 13:46:23 +08:00
Landon Yarrington
c7e4941986 docs: environment spelling 2021-11-23 13:48:51 -07:00
Sunli
1b50738af7 Custom directive 2021-11-20 09:04:46 +08:00
Sunli
ff64396fc8 Update book 2021-11-19 08:29:45 +08:00
Sunli
502bfb8670 Add url, regex and ip validators. 2021-11-17 11:12:52 +08:00
Sunli
af25734697 Remove the ctx parameter of CustomValidator::check. #710 2021-11-17 08:46:13 +08:00
Sunli
5a1f0ed865 Add some validators 2021-11-16 16:20:40 +08:00
Sunli
3d8a8ef6af Update documents 2021-11-16 14:51:20 +08:00
Sunli
ccb06019cc Update book 2021-11-08 16:24:01 +08:00
Miaxos
2059cb470e misc: remove old extension documentation 2021-11-02 20:26:41 +00:00
Miaxos
a880617906 misc(doc): add extension documentation 2021-11-02 20:23:51 +00:00
Miaxos
b361119ca0 feat: add with for object & complex object & update documentation 2021-10-28 12:42:13 +00:00
Miaxos
fa34a8ae68 feat: add basic coercion for SimpleObject derived arg 2021-10-27 13:37:13 +00:00
Miaxos
e77fa153ff misc: update documentation 2021-10-22 13:10:06 +00:00
Miaxos
e1c577de44 feat: add derived field for complex object 2021-10-22 13:08:49 +00:00
root
ef22c48d28 Release 2.10.3
async-graphql@2.10.3
async-graphql-actix-web@2.10.3
async-graphql-axum@2.10.3
async-graphql-derive@2.10.3
async-graphql-parser@2.10.3
async-graphql-poem@2.10.3
async-graphql-rocket@2.10.3
async-graphql-tide@2.10.3
async-graphql-value@2.10.3
async-graphql-warp@2.10.3

Generated by cargo-workspaces
2021-10-12 18:22:48 +08:00
Sunli
dfec0718b3 Merge pull request #654 from DavidCarpus/master
Some grammer/spelling corrections. And one code sample fix
2021-10-12 16:49:35 +08:00