Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(gatsby): Allow specifying type on link extension #16680

Conversation

stefanprobst
Copy link
Contributor

The @link extension by default uses a field's return type to determine the type of the linked node, which is totally sensible. However, when combining with other extensions on the same field, which can change a field's return type, it is good for composability to be able to specify the type explicitly.

@stefanprobst stefanprobst requested a review from a team as a code owner August 16, 2019 11:01
@lannonbr lannonbr added the topic: GraphQL Related to Gatsby's GraphQL layer label Aug 16, 2019
@sidharthachatterjee sidharthachatterjee merged commit f9bbb55 into gatsbyjs:master Aug 19, 2019
@stefanprobst stefanprobst deleted the make-link-extension-composable branch August 28, 2019 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: GraphQL Related to Gatsby's GraphQL layer
4 participants