Skip to content

Making a graphql query field optional and not have it break build. #33309

Answered by siliconchild
siliconchild asked this question in Help
Discussion options

You must be logged in to vote

Found the solution it was to add @link to references
references: [ContentfulAsset] @link(by: "id", from: "references__NODE")

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by siliconchild
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant