juniper/juniper_codegen/src
Jonas Meurer a05f4e55c4
Derive macro for tagged enums (GraphQLUnion) (#618)
* Implemented device macro for GraphQLUnion's

* Updated PR link in CHNAGELOG

* Disabled documentation on enumeration fields

* Disabled skip on fields

* Changed implementation for std::convert::Into since skip is not possible

* Added documentation for GraphQLUnion

* Added tests for GraphQLUnion

* Fixed typos in error messages (as suggested by review)

* Fixed failing documentation example

* Utilized `resolver_code` in `util::GraphQLTypeDefinitionField`.

Simplifies code and provides the idea of using
`util::GraphQLTypeDefinitionField` for different types than objects.

* Removed wrong statement about skip annotation in docs.

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2020-04-14 21:58:45 -10:00
..
util Derive macro for tagged enums (GraphQLUnion) (#618) 2020-04-14 21:58:45 -10:00
derive_enum.rs Remove async feature gate (#554) 2020-03-08 23:20:11 -07:00
derive_input_object.rs Clippy cleanup (#579) 2020-03-20 09:11:06 -07:00
derive_object.rs Fix some clippy lints (#564) 2020-03-13 22:03:36 -07:00
derive_scalar_value.rs Fix some clippy lints (#564) 2020-03-13 22:03:36 -07:00
derive_union.rs Derive macro for tagged enums (GraphQLUnion) (#618) 2020-04-14 21:58:45 -10:00
impl_object.rs Clippy cleanup (#579) 2020-03-20 09:11:06 -07:00
impl_union.rs Fix some clippy lints (#564) 2020-03-13 22:03:36 -07:00
lib.rs Derive macro for tagged enums (GraphQLUnion) (#618) 2020-04-14 21:58:45 -10:00