piperRyan
9080448da2
Add Compile Time Check For "Invalid" Names ( #170 )
2018-05-23 00:25:20 -07:00
Christoph Herzog
05c1011d83
(juniper_codegen) Upgrade syn + quote
2018-05-03 01:49:36 +02:00
Christoph Herzog
d00e74bb4e
Format entire codebase with rustfmt
2018-01-13 12:25:55 +01:00
theduke
643875838d
(codegen) improve derive for InputObject
...
* Implement hack to allow usage in juniper crate
* implement (default) attribute for Default::default()
* Improve tests
2017-12-02 15:43:41 +01:00
theduke
0372de84d5
Rename ToInputValue::to to to_input_value()
2017-08-29 05:34:35 +02:00
theduke
164aa29fdc
Rename FromInputValue::from() to from_input_value()
2017-08-29 05:34:35 +02:00
Sam Rijs
a0f2c3bbdd
Implement support for dynamic schemas
2017-08-07 22:15:09 +02:00
theduke
0c7e39f14e
Rust fmt the whole codebase
2017-08-06 21:15:08 +02:00
theduke
81ce7780fa
Codegen: implement description for custom derives + improve tests
...
Description attribute was available, but not actually used for derive
Object, InputObject and enum and the fields on input object.
Description is now properly set in each of those cases.
Also, tests for all three derives now properly verify the meta
information (name and description) for the derived GraphQLType.
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