Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.

How to parse variables and operationName ? #7

Open
deepnirmal opened this issue Jul 1, 2020 · 1 comment
Open

How to parse variables and operationName ? #7

deepnirmal opened this issue Jul 1, 2020 · 1 comment

Comments

@deepnirmal
Copy link

I want to pass this string and get it parse, can someone help please?

{ "operationName":"myOperation", "variables":{ "var1":216 }, "query":"query myOperation($var1: Int!) {\n myOperation(var1: $var1) {\n basic_info {\n id\n name\n mobile\n alt_mobile\n image_url\n language\n __typename\n }\n profile_details {\n employee_type\n __typename\n }\n __typename\n }\n}\n" }

@tmc
Copy link
Owner

tmc commented Jul 3, 2020

Hey @deepnirmal -- this repository hasn't been updated for quite some time -- I think the go graphql ecosystem has moved on since I authored this. That said, could you share what error/issue you're seeing and maybe I could help?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants