Christoph Herzog
f02e427cab
Refactor integration test layout + add minimal 2018 edition test
...
* Add a new integration_tests subdirectory that holds integration tests
* Add a new, temporary (and really minimal) 2018 edition test crate
2018-12-19 03:53:33 +01: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
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