Closed benjie closed 4 weeks ago
Ah 🤦♂️ I should have thought of that! Closing #2083; please re-open if it does turn out to be an issue.
https://github.com/graphile/crystal/issues/2077#issuecomment-2148422331
Confirmed. Polymorphic types do not appear to support polymorphism at this time. I'll have to expose my own createX
function.
Polymorphic types shouldn't offer mutations currently, since they don't work.
Extracted from #2077
I can't find a way to create a
Profile
when creating anIndividual
In my system, a
Profile
is always one of a few given types. It is unexpected that aProfile
should be created without an associated e.g.Individual
. Preferably, I would like to removecreateProfile
from my mutations altogether and expose only e.g.createIndividual
. However, this meanscreateIndividual
needs to be able to create the baseProfile
, which it seems is not possible?Current
Expected