Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gqlStringRebuilder

Graphql string rebuilder

This module is used to get the query string from a query object obtained from graphql-tag

exemple:

import gql from 'graphql-tag';
import stringRebuilder from 'gqlStringRebuilder';

const query = gql`{ Cars(brand: "Honda") { id, name, price } }`;
const queryString = stringRebuilder(query);

console.log(queryString);
----> { Cars(brand: "Honda") { id, name, price } }

About

Graphql string rebuilder

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages