theduke
6c45fba9bd
Fix some warnings in codegen + tests.
2017-08-06 19:30:26 +02:00
theduke
6c7dc0493d
Rename custom derive modules for consistency.
...
codegen/enums -> codegen/derive_enum
codegen/input_objects -> codegen/derive_input_object
tests/enums -> tests/derive_enum
tests/input_objects -> tests/derive_input_object
2017-08-06 19:30:26 +02:00
theduke
e835a5e019
Codegen: Add custom derive for GraphQLObject
...
This adds a simple derive for objects that implements GraphQLType for
structs which do not require any manual resolvers.
This could be extended in the future to provide a custom resolver
function via an attribute.
Also adds an integration test.
2017-08-06 19:30:26 +02:00
theduke
359b348b97
Fix custom derive enum test.
2017-07-12 21:51:24 +02:00
theduke
03f694fff6
Add nesting layer for codegen tests and add test for input_object derive
2017-07-12 21:51:24 +02:00
theduke
3b42c97a4a
Add juniper_tests crate with integration tests
2017-07-12 21:51:24 +02:00