Thanks @MichelDiz for the answer on passing JSON,
I am progressing in my prototype, I think what I need is a way to read and modify the request when they are on my API (for validation purpose etc…).
Also it seems that I would have to manipulate strings there. Which is very un-convenient and error prone.
For example someone has tried to make a lib for this purpose here : GitHub - udacity/graphb: GraphQL Query Builder for Go
But it ends up beeing more complicated …
My understanding is that graphql requests are abstract syntax trees (AST) …
Therefore is there a golang lib to manipulate graphql as abstract syntax trees ???