Remove deprecated ScalarValue derive

This was renamed to GraphQLScalarValue and has been deprecated for a
while
This commit is contained in:
Christoph Herzog 2019-11-16 02:24:24 +01:00
parent 46590ae884
commit 358071bfa4
3 changed files with 2 additions and 7 deletions

View file

@ -6,6 +6,8 @@
## Breaking Changes
- Remove deprecated `ScalarValue` custom derive (renamed to GraphQLScalarValue)
- `graphql_union!` macro removed, replaced by `#[graphql_union]` proc macro
- ScalarRefValue trait removed

View file

@ -111,7 +111,6 @@ extern crate uuid;
// functionality automatically.
pub use juniper_codegen::{
graphql_union, object, GraphQLEnum, GraphQLInputObject, GraphQLObject, GraphQLScalarValue,
ScalarValue,
};
// Internal macros are not exported,
// but declared at the root to make them easier to use.

View file

@ -106,12 +106,6 @@ pub fn derive_scalar_value(input: TokenStream) -> TokenStream {
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)]
#[doc(hidden)]
pub fn derive_scalar_value_internal(input: TokenStream) -> TokenStream {