Expose IntrospectionMode
This commit is contained in:
parent
d14ead03f9
commit
bf054b0872
|
@ -238,7 +238,7 @@ pub use request::{BatchRequest, Request};
|
|||
#[doc(no_inline)]
|
||||
pub use resolver_utils::{ContainerType, EnumType, ScalarType};
|
||||
pub use response::{BatchResponse, Response};
|
||||
pub use schema::{Schema, SchemaBuilder, SchemaEnv};
|
||||
pub use schema::{IntrospectionMode, Schema, SchemaBuilder, SchemaEnv};
|
||||
#[doc(hidden)]
|
||||
pub use static_assertions;
|
||||
pub use subscription::SubscriptionType;
|
||||
|
|
|
@ -31,8 +31,11 @@ use crate::{
|
|||
/// Introspection mode
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
||||
pub enum IntrospectionMode {
|
||||
/// Introspection only
|
||||
IntrospectionOnly,
|
||||
/// Enables introspection
|
||||
Enabled,
|
||||
/// Disables introspection
|
||||
Disabled,
|
||||
}
|
||||
|
||||
|
|
|
@ -222,7 +222,7 @@ where
|
|||
/// # Examples
|
||||
///
|
||||
/// ```rust
|
||||
///
|
||||
///
|
||||
/// use async_graphql::*;
|
||||
/// use async_graphql::types::connection::*;
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue