Update docs
This commit is contained in:
parent
70556af838
commit
5d705afeb4
|
@ -72,7 +72,7 @@ impl FieldError {
|
|||
}
|
||||
}
|
||||
|
||||
/// An alias for `Result<T, InputValueError>`.
|
||||
/// An alias for `Result<T, FieldError>`.
|
||||
pub type FieldResult<T> = std::result::Result<T, FieldError>;
|
||||
|
||||
impl<E: Display> From<E> for FieldError {
|
||||
|
|
15
src/lib.rs
15
src/lib.rs
|
@ -292,8 +292,6 @@ pub use async_graphql_derive::GQLObject;
|
|||
|
||||
/// Define a GraphQL object with fields
|
||||
///
|
||||
/// You can also [derive this](derive.GQLSimpleObject.html).
|
||||
///
|
||||
/// *[See also the Book](https://async-graphql.github.io/async-graphql/en/define_simple_object.html).*
|
||||
///
|
||||
/// Similar to `Object`, but defined on a structure that automatically generates getters for all fields. For a list of valid field types, see [`Object`](attr.Object.html). All fields are converted to camelCase.
|
||||
|
@ -343,8 +341,6 @@ pub use async_graphql_derive::GQLSimpleObject;
|
|||
|
||||
/// Define a GraphQL enum
|
||||
///
|
||||
/// You can also [derive this](derive.GQLEnum.html).
|
||||
///
|
||||
/// *[See also the Book](https://async-graphql.github.io/async-graphql/en/define_enum.html).*
|
||||
///
|
||||
/// # Macro parameters
|
||||
|
@ -401,9 +397,6 @@ pub use async_graphql_derive::GQLEnum;
|
|||
|
||||
/// Define a GraphQL input object
|
||||
///
|
||||
///
|
||||
/// You can also [derive this](derive.GQLInputObject.html).
|
||||
///
|
||||
/// *[See also the Book](https://async-graphql.github.io/async-graphql/en/define_input_object.html).*
|
||||
///
|
||||
/// # Macro parameters
|
||||
|
@ -461,8 +454,6 @@ pub use async_graphql_derive::GQLInputObject;
|
|||
|
||||
/// Define a GraphQL interface
|
||||
///
|
||||
/// You can also [derive this](derive.GQLInterface.html).
|
||||
///
|
||||
/// *[See also the Book](https://async-graphql.github.io/async-graphql/en/define_interface.html).*
|
||||
///
|
||||
/// # Macro parameters
|
||||
|
@ -591,8 +582,6 @@ pub use async_graphql_derive::GQLInterface;
|
|||
|
||||
/// Define a GraphQL union
|
||||
///
|
||||
/// You can also [derive this](derive.GQLUnion.html).
|
||||
///
|
||||
/// *[See also the Book](https://async-graphql.github.io/async-graphql/en/define_union.html).*
|
||||
///
|
||||
/// # Macro parameters
|
||||
|
@ -725,8 +714,6 @@ pub use async_graphql_derive::GQLScalar;
|
|||
|
||||
/// Define a merged object with multiple object types.
|
||||
///
|
||||
/// You can also [derive this](derive.GQLMergedObject.html).
|
||||
///
|
||||
/// *[See also the Book](https://async-graphql.github.io/async-graphql/en/merging_objects.html).*
|
||||
///
|
||||
/// # Macro parameters
|
||||
|
@ -767,8 +754,6 @@ pub use async_graphql_derive::GQLMergedObject;
|
|||
|
||||
/// Define a merged subscription with multiple subscription types.
|
||||
///
|
||||
/// You can also [derive this](derive.GQLMergedSubscription.html).
|
||||
///
|
||||
/// *[See also the Book](https://async-graphql.github.io/async-graphql/en/merging_objects.html).*
|
||||
///
|
||||
/// # Macro parameters
|
||||
|
|
Loading…
Reference in New Issue
Block a user