From 2c94b2137900013da545d12af4857f50d6601c68 Mon Sep 17 00:00:00 2001 From: Douman Date: Fri, 27 May 2022 14:18:13 +0900 Subject: [PATCH] Expose Edge::node to allow better testing --- src/types/connection/edge.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/connection/edge.rs b/src/types/connection/edge.rs index 6ed9df317..d242fad8d 100644 --- a/src/types/connection/edge.rs +++ b/src/types/connection/edge.rs @@ -44,7 +44,7 @@ where /// A cursor for use in pagination pub(crate) cursor: CursorScalar, /// "The item at the end of the edge - pub(crate) node: Node, + pub node: Node, #[graphql(flatten)] pub(crate) additional_fields: EdgeFields, }