This website requires JavaScript.
Explore
Help
Register
Sign in
yume
/
juniper
Watch
1
Star
0
Fork
You've already forked juniper
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
df9da4c776
juniper
/
tests
/
codegen
/
fail
/
object
/
derive_no_fields.rs
7 lines
82 B
Rust
Raw
Normal View
History
Unescape
Escape
Rework codegen for GraphQL objects and subscriptions (#971, #421) - preserve and reuse defined impl blocks in #[graphql_object] and #[graphql_subscription] macros expansion - allow renaming `ScalarValue` type parameter in expanded code via `scalar = S: ScalarValue` syntax Additionally: - rename `rename` attribute's argument to `rename_all` - support `rename_all` in #[graphql_interface] macro
2021-08-11 09:41:49 -05:00
use
juniper
::
GraphQLObject
;
#[
derive(GraphQLObject)
]
struct
Obj
{
}
Ensure Specification(June 2018) Compliance (#631) * 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>
2020-05-01 21:24:01 -05:00
fn
main
(
)
{
}
Reference in a new issue
Copy permalink