Merge pull request #933 from DoumanAsh/expose_edge

Expose Edge::node to allow better testing
This commit is contained in:
Sunli 2022-05-27 15:19:03 +08:00 committed by GitHub
commit 2259df0a09

View File

@ -44,7 +44,7 @@ where
/// A cursor for use in pagination /// A cursor for use in pagination
pub(crate) cursor: CursorScalar<Cursor>, pub(crate) cursor: CursorScalar<Cursor>,
/// "The item at the end of the edge /// "The item at the end of the edge
pub(crate) node: Node, pub node: Node,
#[graphql(flatten)] #[graphql(flatten)]
pub(crate) additional_fields: EdgeFields, pub(crate) additional_fields: EdgeFields,
} }