Expose SchemaType (#569)
Executor.schema(&self) is kind of useless without declaring SchemaType as public
This commit is contained in:
parent
27e00419b0
commit
b7cc424bff
2 changed files with 9 additions and 1 deletions
|
@ -12,6 +12,11 @@
|
|||
|
||||
See [#419](https://github.com/graphql-rust/juniper/pull/419).
|
||||
|
||||
- `SchemaType` is now public
|
||||
- This is helpful when using `context.getSchema()` inside of your field resolvers
|
||||
|
||||
See [#569](https://github.com/graphql-rust/juniper/pull/569).
|
||||
|
||||
## Breaking Changes
|
||||
|
||||
- remove old `graphql_object!` macro, rename `object` proc macro to `graphql_object`
|
||||
|
|
|
@ -172,7 +172,10 @@ pub use crate::{
|
|||
LookAheadSelection, LookAheadValue, Registry, Variables,
|
||||
},
|
||||
introspection::IntrospectionFormat,
|
||||
schema::{meta, model::RootNode},
|
||||
schema::{
|
||||
meta,
|
||||
model::{RootNode, SchemaType},
|
||||
},
|
||||
types::{
|
||||
base::{Arguments, GraphQLType, TypeKind},
|
||||
scalars::{EmptyMutation, ID},
|
||||
|
|
Loading…
Reference in a new issue