Open AaronBuxbaum opened 1 year ago
Hey @AaronBuxbaum I'm really busy this weekend, I probably won't have a chance to look at this until next weekend. This feature sounds like a great idea and I'm open to it being introduced. If you're able/willing to tackle this one before I have a chance to, please feel free to submit a PR. 🙂
For workaround: pass RegExp to graphqlUrl.
createWorkerFixture([...], { graphqlUrl: /\/graphql/ as any })
While its type only accepts string, it actually handles RegExp.
My current system has two GraphQL endpoints which are hit by two different GraphQL clients. This obviously isn't an ideal system, but we are migrating between systems and the graphs have name collisions preventing unification strategies.
Can we enable providing an array of endpoints instead of just a string?