codegen/enums -> codegen/derive_enum codegen/input_objects -> codegen/derive_input_object tests/enums -> tests/derive_enum tests/input_objects -> tests/derive_input_object
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.
This crate will contain multiple custom_derive implementations. For now, only enum is supported.