Closed bconnorwhite closed 4 years ago
Nice, thanks @ConnorWhite
Could you add a test for this in https://github.com/dupski/json-to-graphql-query/blob/master/src/__tests__/fragments.tests.ts please when you have a moment and I will look into merging it asap :)
Sure, just added a test @dupski.
Hi, is it possible to merge it @dupski ?
Yep, I was going to do it at the weekend then work stuff came up, sorry. Will be in the next few days, promise! :)
Hey man, just published v2.0.0 which includes support for full fragments. Changed the API slightly to __all_on: ["Fragment1", "Fragment2"]
to allow for multiple full fragments :)
This allows for:
To transform to: