You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both Employee and Client are nodes that are sourced to Gatsby, but the interface is dropped entirely. If a field returns the Person type, the interface will be created and correctly applied to Employee and Client, but it won't contain any fields except remoteTypeName.
I would be great to be able to run a reusable fragment against an interface:
fragmentPerson {
name
}
But if i'm not mistaken, this is not possible right now?
The text was updated successfully, but these errors were encountered:
Is it possible to define an interface in my source schema and properly reflect it in the Gatsby schema?
Example:
Both
Employee
andClient
are nodes that are sourced to Gatsby, but the interface is dropped entirely. If a field returns thePerson
type, the interface will be created and correctly applied toEmployee
andClient
, but it won't contain any fields exceptremoteTypeName
.I would be great to be able to run a reusable fragment against an interface:
But if i'm not mistaken, this is not possible right now?
The text was updated successfully, but these errors were encountered: