I'm using the currently released ember-cli-mirage-graphql version, 0.1.1.
This video guide about ember-cli-mirage-graphql uses Mirage factories, and so does this repo's dummy app.
Mirage also provides the concepts of models and relationships. Specifically, you can define belongsTo and hasMany relationships between models.
- Does this package work with those Mirage features?
- If so, would it be possible to add an example, maybe to the dummy app, of how to handle a GraphQL query that loads associated models from the Mirage DB?
I tried using Mirage models in my app, but when handling the GraphQL query it seemed to have trouble loading the related models. I'm not sure if I was lacking some necessary configuration or it's just not supported.
By the way, this may be tangentially related to #18.
I'm using the currently released
ember-cli-mirage-graphqlversion,0.1.1.This video guide about
ember-cli-mirage-graphqluses Mirage factories, and so does this repo's dummy app.Mirage also provides the concepts of models and relationships. Specifically, you can define
belongsToandhasManyrelationships between models.I tried using Mirage models in my app, but when handling the GraphQL query it seemed to have trouble loading the related models. I'm not sure if I was lacking some necessary configuration or it's just not supported.
By the way, this may be tangentially related to #18.