Commit Graph

10 Commits

Author SHA1 Message Date
William Myers
b1763de1ea Remove Deserialize impl from MaybeUndefined
Change Serialize implementation to use the `untagged` attribute.
This handles the common case of directly serializing `MaybeUndefined`,
but deserializing into an `Option<T>`. We could add a more sophisticated
custom deserialize implementation later.
2020-09-20 13:22:51 -07:00
William Myers
c117cc0bf5 Add more trait implementations to MaybeUndefined
Closes #267
2020-09-19 14:10:54 -07:00
Sunli
e645e9d999 Remove the GQL prefix of all macros. #208 2020-09-18 09:10:24 +08:00
Sunli
34eaa1d686 Some improvements. 2020-09-17 11:22:09 +08:00
Sunli
24b80d52d3 Remove all attribute macros that can be replaced by derive. 2020-09-13 11:41:15 +08:00
Sunli
35f17a389c Remove unnecessary Result on Schema::execute_stream function. 2020-09-11 10:47:55 +08:00
Sunli
91c75ced2a Make all tests passed (async-graphql). 2020-09-10 19:35:48 +08:00
Koxiaet
ea7e4eaf2a Fix tests 2020-09-08 10:19:25 +01:00
sunli
e98327ae5e Update some docs 2020-05-28 22:18:15 +08:00
Sunli
43c8daa132 Add MaybeUndefined type (#123)
* Add MaybeUndefined type
2020-05-28 15:00:55 +08:00