juniper/juniper_codegen
Jonas Meurer fe99e1cc70
Allow specifying scalar and context for GraphQLEnum (#621)
* Updated implementation of derive enum

- allows context specification
- allows scalar specification
- shares code with derive object

* Added this feature to CHANGELOG

* Added matrix with supported macro attributes for enums

* Added case which checks for custom context

* GraphQLUnion now can use a different context per variant

* Moved context switch test for union into right folder

* Sync resolve expression has the same form as the other impls

* Disabled custom scalar on GraphQLEnum

* Fixed CHANGELOG

* Fixed support matrix of GraphQLEnum in the book

- scalar not supported!
- skip not supported!

* Added test case for "noasync" derive attribute

* Disallowed generics and lifetimes on GraphQLEnum

* Added error message for duplicate naming

* Added error message for empty variant
2020-04-17 19:09:04 -10:00
..
src Allow specifying scalar and context for GraphQLEnum (#621) 2020-04-17 19:09:04 -10:00
Cargo.toml Remove async feature gate (#554) 2020-03-08 23:20:11 -07:00
Makefile.toml Add release automation (#346) 2019-05-11 23:51:28 -07:00
release.toml (tooling) Update release config to bump doc_root. 2019-05-15 11:20:51 +02:00