vkolgi / json-to-graphql-query

Simple module that converts JavaScript objects to GraphQL query syntax
MIT License
283 stars 39 forks source link

Fixing empty variables, empty directives #47

Closed MorganDbs closed 2 years ago

MorganDbs commented 2 years ago

Hey @vkolgi it's us again :),

We just noticed an usecase where someone would put empty variable object or empty directive object and breaking the gql query. So here a quick fix.

Hope you can merge and publish new version soon :dancers:

Best regards

MorganDbs commented 2 years ago

@vkolgi Any news? :)

MorganDbs commented 2 years ago

@vkolgi @vkolagi Hello, sorry to bother you again but can you merge and publish my fix asap please ? :smile:

Best regards

MorganDbs commented 2 years ago

@vkolgi @vkolagi Hey, thanks for the merge ! When do you plan to publish new version ?

vkolgi commented 2 years ago

@MorganDbs hey, I am planning to publish new version today.