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
Having types Fruit and Vegetable implementing Produce as per https://graphql.com/learn/interfaces-and-unions/#fragments
After I executed such query (use no shared fields, and only a sible type fragment while the collecton has multiple types)
I guess currently it's a bit implicit in the sense that we say Initialize resultMap to an empty ordered map. and then we see that the fragment does not apply so it stays an empty ordered map. I think there might be an opportunity to clarify something along the lines of If a returned object has no matching fragments the result will be an empty ordered map..
Having types
Fruit
andVegetable
implementingProduce
as per https://graphql.com/learn/interfaces-and-unions/#fragmentsAfter I executed such query (use no shared fields, and only a sible type fragment while the collecton has multiple types)
I've got
Is it the correct behavior?
Specification does not mention such case at all.
I want to understand both cases like:
In context of fixing fsprojects/FSharp.Data.GraphQL#455 in fsprojects/FSharp.Data.GraphQL#458
The text was updated successfully, but these errors were encountered: