Hopefully this is useful to a couple people! Feedb...
# prisma-whats-new
a
Hopefully this is useful to a couple people! Feedback appreciated https://www.npmjs.com/package/graphql-query-factory
🎉 1
(wow, that’s a lot of my face… awkward)
a
Can you give us a summary of what this package does?
a
@aurnik Sure. graphql-query-factory takes in a query/mutation template and
builds
query strings from a query/mutation string template & array of variables and
batch
executes those for you. If you’re interested in simply using this like you would graphql-request package (which is currently a dep) you can simply call the
factory
method. There are several options that accomplish this same thing (including graphql-request). However, I ran into a scenario where I needed to be able to build strings and batch execute them separately.
👍 1
What do you think would make that more clear in the docs? More explicit examples or just a use case summary at the top ?
a
Yeah I think if you just put a summary at the top that would make it more clear to people why they would want to use the package
a
Will do
n
that's awesome, thanks for sharing @alechp 👍