Closed bombillazo closed 1 year ago
Which version of the library were you using when you encountered this issue? There are similar tests for this in the project. I modified the test schema and tests locally to more closely match your scenario and everything is working as expected.
Given a schema with interfaces:
@miragejs/graphql
gets confused when trying to create Models. The attempts to create aProfileData
record using server.create('profileData') gives an error indicating there is no model nor factory available for it. In addition, aProfile
model is created when there should be none since it is an interface.