558eae91df
* Implemented most test cases from the specification * Unified error handling for all generators - Removed proc-macro-error -> not required -> use syn::Error - Everything below lib.rs uses proc_macro2::TokenStream instead of proc_macro::TokenStream - Replaced error handling in attribute parsers * WIP better error messages for *all* macros * Refactored GraphQLInputObject and minor tweaks - removed support for Scalar within a string ("DefaultScalarValue") - removed unraw function and replaced it with the built-in one - added error messages and return types for all functions within utils - added more constraints to fulfill the GraphQL spec * Fixed test-cases which are not compliant with the specification * Removed unused function * Added constrains, updated error messages, added marker * Added argument rename within impl_graphql and fixed `__` tests * Formatted and cleanup * Added GraphQLTypeAsync for input object * Moved codegen tests to separate module Nightly and stable produce different outputs, thus only test nightly. * Added IsInputType/IsOutputType traits for type checking Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com> |
||
---|---|---|
.. | ||
derive_fields_unique.rs | ||
derive_fields_unique.stderr | ||
derive_incompatible_input_object.rs.disabled | ||
derive_no_fields.rs | ||
derive_no_fields.stderr | ||
derive_no_underscore.rs | ||
derive_no_underscore.stderr | ||
impl_argument_no_object.rs | ||
impl_argument_no_object.stderr | ||
impl_fields_unique.rs | ||
impl_fields_unique.stderr | ||
impl_incompatible_input_object.rs.disabled | ||
impl_no_argument_underscore.rs | ||
impl_no_argument_underscore.stderr | ||
impl_no_fields.rs | ||
impl_no_fields.stderr | ||
impl_no_underscore.rs | ||
impl_no_underscore.stderr |