Remove deprecated ScalarValue derive
This was renamed to GraphQLScalarValue and has been deprecated for a while
This commit is contained in:
parent
46590ae884
commit
358071bfa4
3 changed files with 2 additions and 7 deletions
|
@ -6,6 +6,8 @@
|
||||||
|
|
||||||
## Breaking Changes
|
## Breaking Changes
|
||||||
|
|
||||||
|
- Remove deprecated `ScalarValue` custom derive (renamed to GraphQLScalarValue)
|
||||||
|
|
||||||
- `graphql_union!` macro removed, replaced by `#[graphql_union]` proc macro
|
- `graphql_union!` macro removed, replaced by `#[graphql_union]` proc macro
|
||||||
|
|
||||||
- ScalarRefValue trait removed
|
- ScalarRefValue trait removed
|
||||||
|
|
|
@ -111,7 +111,6 @@ extern crate uuid;
|
||||||
// functionality automatically.
|
// functionality automatically.
|
||||||
pub use juniper_codegen::{
|
pub use juniper_codegen::{
|
||||||
graphql_union, object, GraphQLEnum, GraphQLInputObject, GraphQLObject, GraphQLScalarValue,
|
graphql_union, object, GraphQLEnum, GraphQLInputObject, GraphQLObject, GraphQLScalarValue,
|
||||||
ScalarValue,
|
|
||||||
};
|
};
|
||||||
// Internal macros are not exported,
|
// Internal macros are not exported,
|
||||||
// but declared at the root to make them easier to use.
|
// but declared at the root to make them easier to use.
|
||||||
|
|
|
@ -106,12 +106,6 @@ pub fn derive_scalar_value(input: TokenStream) -> TokenStream {
|
||||||
gen.into()
|
gen.into()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[deprecated(note = "ScalarValue has been renamed to GraphQLScalarValue")]
|
|
||||||
#[proc_macro_derive(ScalarValue)]
|
|
||||||
pub fn derive_scalar_value_deprecated(input: TokenStream) -> TokenStream {
|
|
||||||
derive_scalar_value(input)
|
|
||||||
}
|
|
||||||
|
|
||||||
#[proc_macro_derive(GraphQLScalarValueInternal)]
|
#[proc_macro_derive(GraphQLScalarValueInternal)]
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
pub fn derive_scalar_value_internal(input: TokenStream) -> TokenStream {
|
pub fn derive_scalar_value_internal(input: TokenStream) -> TokenStream {
|
||||||
|
|
Loading…
Reference in a new issue