Skip to content

Commit

Permalink
make node field type non-nullable in an edge
Browse files Browse the repository at this point in the history
--> From #4458
  • Loading branch information
rakeshkky committed Jun 10, 2020
1 parent a75e9eb commit c7bc42b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/src-lib/Hasura/GraphQL/Schema/Select.hs
Expand Up @@ -442,7 +442,7 @@ pageInfoObj =
{-
type tableConnection {
cursor: String!
node: table
node: table!
}
-}
mkTableEdgeObj
Expand All @@ -453,8 +453,8 @@ mkTableEdgeObj tn =
where
cursor = mkHsraObjFldInfo Nothing "cursor" Map.empty $
G.toGT $ G.toNT stringScalar
node = mkHsraObjFldInfo Nothing "node" Map.empty $ G.toGT $
mkTableTy tn
node = mkHsraObjFldInfo Nothing "node" Map.empty $
G.toGT $ G.toNT $ mkTableTy tn

{-
table_by_pk(
Expand Down

0 comments on commit c7bc42b

Please sign in to comment.