Commit Graph

221 Commits

Author SHA1 Message Date
Dylan Anthony d0a5a50046
docs: Fix `&str` -> `ID` in fed docs 2022-09-23 11:58:30 -06:00
Dylan Anthony 9b79c2232b
docs: Fix more attributes in examples 2022-09-23 11:52:05 -06:00
Dylan Anthony 6193f24aae
docs: EmptyQuery isn't a thing 2022-09-23 11:42:19 -06:00
Dylan Anthony 4327c14e50
docs: Fix `#[SimpleObject]` in federation examples 2022-09-23 11:33:02 -06:00
Dylan Anthony b0c14df9d2
docs: Remove tokio from examples 2022-09-23 11:15:22 -06:00
Dylan Anthony d9c4399a1f
docs: Add imports to fed doc examples 2022-09-23 11:12:06 -06:00
Dylan Anthony fb539f4d2c
docs: Update federation docs with examples of each directive 2022-09-22 17:48:15 -06:00
Sunli 7ecc91f3f0 Federation v1 is no longer supported 2022-09-22 23:34:49 +08:00
aidan coyne 2a5af41fec add documentation about enabling link directive 2022-09-22 09:59:01 -05:00
Jeffrey Rooks 8df3669b0c Add more information to dataloader docs
remove example
2022-08-24 23:14:39 +01:00
Nicolas Moutschen c334adfaf2 docs: add doc for tag attribute 2022-08-22 11:52:05 +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
Nicolas Moutschen 570db3c9f8 docs: add docs for inaccessible directive 2022-08-18 14:31:01 +02:00
Damien Pontifex 4bdd28d966 additions so type can also be shareable as well as field 2022-08-17 10:36:00 +08:00
Sunli 1d33a6b806 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 02172ab71b
Add small section about redacting data from input objects (#1013) 2022-08-09 09:05:31 +08:00
Fabien Penso 7434a27eb1
Fix typo (#973) 2022-07-10 08:37:52 +08:00
Kian-Meng Ang a210f64426
Fix typos (#951) 2022-06-15 22:18:39 +08:00
Edward Rudd d0f7097219 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
Edward Rudd f99204d128 run mdbook tests to ensure that the doc examples are valid 2022-06-02 17:27:16 -04:00
Sunli 44b85b2d0e Merge branches 'master' and 'master' of github.com:async-graphql/async-graphql 2022-05-27 15:23:53 +08:00
Sunli 734d282a67 Update book 2022-05-27 15:20:58 +08:00
Douman 3aa7de7403 Update book to connection changes in 4.x.y 2022-05-27 12:53:09 +09:00
Bram van Neerven 92ed523bc3
added docs for OneofObject 2022-05-07 13:37:11 +02:00
Stephen Wicklund eb0ca68b04
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 78ef5f2518 Correct import path for cursor connection in docs 2022-03-02 11:33:55 +01:00
Sunli 969bedab8d
Merge pull request #844 from kolloch/patch-1
custom_scalars: i64 not encoded as string
2022-02-27 09:48:07 +08:00
azzamsa 5e497afba3
docs: update method name 2022-02-24 06:09:32 +07:00
Peter Kolloch 5608a09869
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 cef42759d4
Nit: Fix typos in define_complex_object.mx 2022-02-17 18:55:41 +00:00
Joe Zhou 090b94e4d7
Update depth_and_complexity.md 2022-01-18 12:07:23 -05:00
Sunli 05e0349a16 Update book 2021-12-09 20:20:51 +08:00
Sunli f78b3e70ae Update book 2021-12-09 10:07:11 +08:00
Sunli 58bb3442cd Update book #736 2021-12-02 20:22:11 +08:00
Sunli 40a7192919 Fix the custom validator cannot work on `Option<Vec<T>>`. 2021-11-30 13:46:23 +08:00
Landon Yarrington 4d7b9ef736 docs: environment spelling 2021-11-23 13:48:51 -07:00
Sunli 81e4cc2142 Custom directive 2021-11-20 09:04:46 +08:00
Sunli c79eaad006 Update book 2021-11-19 08:29:45 +08:00
Sunli 723bb10912 Add `url`, `regex` and `ip` validators. 2021-11-17 11:12:52 +08:00
Sunli d3078e73d0 Remove the `ctx` parameter of `CustomValidator::check`. #710 2021-11-17 08:46:13 +08:00
Sunli 2518fd17c6 Add some validators 2021-11-16 16:20:40 +08:00
Sunli fa59419815 Update documents 2021-11-16 14:51:20 +08:00
Sunli 708c051bbd Update book 2021-11-08 16:24:01 +08:00
Miaxos 6f7da53b54 misc: remove old extension documentation 2021-11-02 20:26:41 +00:00
Miaxos 60116b40e5 misc(doc): add extension documentation 2021-11-02 20:23:51 +00:00
Miaxos 897ef79b72 feat: add with for object & complex object & update documentation 2021-10-28 12:42:13 +00:00
Miaxos 2941b7283d feat: add basic coercion for SimpleObject derived arg 2021-10-27 13:37:13 +00:00
Miaxos 1ebab7f794 misc: update documentation 2021-10-22 13:10:06 +00:00
Miaxos 02009c401b feat: add derived field for complex object 2021-10-22 13:08:49 +00:00
root f9a79baede 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