Commit Graph

742 Commits

Author SHA1 Message Date
Sunli
b75aa6c25b Rework websocket 2021-11-12 07:23:04 +08:00
Sunli
0f1e5a19fd If a GraphQL name conflict is detected when creating schema, it will cause panic. #499 2021-11-08 10:25:31 +08:00
Sunli
53b5701b93 Fix the problem that EmptyMutation may cause when used in MergedObject. #694 2021-11-08 08:45:14 +08:00
Sunli
a26cc65d59 Rework Failure 3 #671 2021-11-07 19:11:43 +08:00
Sunli
490cfec5f5 Rework Failure2 #671 2021-11-05 19:05:49 +08:00
Sunli
c2a5ad1779 rustfmt 2021-11-05 09:29:50 +08:00
Sunli
f870c07092
Merge pull request #692 from SadiinsoSnowfall/master
Added map, contains and transpose function to MaybeUndefined
2021-11-05 09:29:17 +08:00
SadiinsoSnowfall
fef7820871 Fixed clippy warning 2021-11-04 14:05:36 +01:00
Sunli
d62aca8052 Rework Failure #671 2021-11-04 19:37:22 +08:00
SadiinsoSnowfall
6a8d0260e0 Added map, contains and transpose function to MaybeUndefined 2021-11-04 12:03:49 +01:00
Sunli
63544aab5b Fix tests 2021-11-04 14:54:26 +08:00
Sunli
755a7f92df rustfmt 2021-11-04 14:42:30 +08:00
Sunli
e898998311 Add Failure type. #671 2021-11-04 14:33:04 +08:00
Sunli
ad517eaddb Add MaybeUndefined::as_opt_ref and MaybeUndefined::as_opt_deref methods. #688 2021-11-04 09:44:16 +08:00
meh
f4c8222ef8
docs: add specified_by_url for Duration
Co-authored-by: Anthony Griffon <an.griffon@gmail.com>
2021-11-03 14:56:42 +01:00
meh
6aeacd9737
feat: add chrono::Duration custom scalar 2021-11-03 14:05:58 +01:00
Sunli
a250c21ef6 Update MSRV 2021-11-03 18:42:41 +08:00
Sunli
dc1bffcca4 Add specified_by_url for Upload 2021-11-02 20:35:43 +08:00
Sunli
bb0c4624a6 Add specified_by_url for Tz & DateTime<Tz> & Url & Uuid scalars 2021-11-02 20:35:05 +08:00
Sunli
3306f85a8a Subscription typename - [GraphQL - October 2021] #681 2021-11-02 20:35:05 +08:00
Sunli
91bb9e81fb Specified By - [GraphQL - October 2021] #677 2021-11-02 20:35:05 +08:00
Sunli
3964e5c36c
Merge branch 'master' into update-to-rust-edition-2021 2021-11-02 20:08:41 +08: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
Sunli
271946eb0c Respect query object field order. #612 2021-10-26 19:02:15 +08:00
Miaxos
878a1d4d84 feat: add derived for simple object & complex object 2021-10-25 12:23:12 +00:00
Miaxos
3f227217ae feat: add derived on simple objects 2021-10-25 10:56:33 +00:00
Jeff Registre
2098842400
Removed import for new prelude members: TryFrom, TryInto, FromIterator 2021-10-22 19:34:49 -04:00
Miaxos
02009c401b feat: add derived field for complex object 2021-10-22 13:08:49 +00:00
Samuel Hurel
0f997b651d Add Bson<->JSON and Document<->JSONObject impls 2021-10-19 10:24:41 +02:00
Sunli
44812eeb1f Implement Default for ID #659 2021-10-16 22:24:46 +08:00
smihica
b4066d5f50 Changed docs comment 2021-10-14 00:49:47 +09:00
smihica
7d9de1c0f8 Supported CharsMinLength and CharsMaxLength to count chars 2021-10-14 00:43:14 +09:00
smihica
4c3e5905a7 Revert "Supported multibyte string in StringMinLength and StringMaxLength to count chars, not byte len."
This reverts commit b4116cdcaa.
2021-10-14 00:33:20 +09:00
smihica
b4116cdcaa Supported multibyte string in StringMinLength and StringMaxLength to count chars, not byte len. 2021-10-13 15:16:32 +09:00
Miaxos
a3b7777516 feat: add visible macro argument for union type 2021-10-11 21:54:50 +00:00
Oliver Cooper
bb74b2f46d Document selection_fields 2021-09-28 16:50:27 +13:00
Oliver Cooper
2725bb7b03
Merge branch 'async-graphql:master' into master 2021-09-27 11:56:42 +13:00
Oliver Cooper
258fda403b Get selection fields from Lookahead 2021-09-27 11:56:27 +13:00
Sunli
097c570c0b Change log level. #518 2021-09-24 10:54:52 +08:00
Sunli
71b16ed534 Change the execution order of chain and race guards. #614 2021-09-24 10:30:46 +08:00
Sunli
7a464c15eb Add DataLoader::enable_all_cache and DataLoader::enable_cache methods. #642 2021-09-24 09:46:19 +08:00
Miaxos
bcb9981e56 misc: add documentations for naive_time url and uuid 2021-09-20 13:54:30 +00:00
Sunli
b590cea008 Implement ScalarType for HashMap/BTreeMap to use ToString/FromStr. #585 2021-09-17 09:17:47 +08:00
Sunli
243e1d323a Add support for graphql-ws pings. #635 2021-09-16 21:10:39 +08:00
Sunli
9b383baa6b Fix typo 2021-09-03 15:15:41 +08:00
Erik Tesar
0c1d4963aa
fix: fix build and gate cbor behind feature flag 2021-09-02 15:58:37 +02:00
Erik Tesar
ff0469a09f
Merge feat/multipart into master 2021-09-02 15:32:08 +02:00
Erik Tesar
b02dd801b0
feat: implement cbor in multipart 2021-09-02 15:27:44 +02:00
Sunli
3a648d00d0 Update mod.rs 2021-09-02 20:19:08 +08:00