JSON.stringify(this, groupFields).replace(/"([^"]+)":/g, '$1:');
-
-
Save steevhise/4646cf54928013158041ce6c9c304ce8 to your computer and use it in GitHub Desktop.
regex for converting js object to graphql
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
actually this has some errors in it...