Rocky Neurock

Results 71 comments of Rocky Neurock

Thanks for the quick reply. My use case is probably uncommon but I absolutely need the functionality. I have a Bower package that extends another (if you want to think...

I'm not aware of previous attempts but I have thought about the same thing and would love to figure out how much effort it would be. Maybe something nice to...

> Update: > > I have completely moved pretender specific code into an interceptor module. (Later will be extracted to a separate NPM package). > > When Mirage server starts,...

Ok, I figured this out. It has to do with the fact that "data" is plural. See [this REPL](https://miragejs.com/repl/v2/b7bf9076c0). I think this issue could be closed since it does technically...

I'm open to better examples, for sure! In this case, it's hard to know what a good example would be given that GraphQL usage can vary so widely. Maybe there's...

I can't remember the auto-resolution logic at play here but it *might* be the case that the library will only try to auto-resolve types that implement an interface. I'll have...

I think this will work for you [https://miragejs.com/repl/v2/571a844c0b](): ```javascript this.post("/graphql", createGraphQLHandler(graphQLSchema, this.schema, { resolvers: { Query: { itemsRead(_obj, _args, context) { const booksRead = context.mirageSchema.db.bookReads.map((book) => ({ ...book, __typename: 'BookRead'...

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...

@BarryThePenguin, thanks for opening this PR! Is the intention to add a failing test or is it to fully fix the issue you reported? Thanks!

Cool. Don't feel you _have to_ separate the commits into separate PRs, if that's what you meant. Feel free to update the PR title and description to match the changes...