Skip to content

Unmarshall graphql query to use it with graphb #8

Description

@hubyhuby

Feature request :
The use case of this, is when you build a Go API that receives a graphql query that you want to validate and modify before passing it to your graph DB.

Basically :

  1. you receive a string as mentionned in your example :
    const queryTemplate =
    "query": "
    query an_operation_name {
    a_field_name (`

  2. You want to marshall it to graphb. And modify it.

3)Marshall it and send it to the graph DB.

Thanks you for this library.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions