Skip to content

IgorDePaula/graphqlbuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

GraphQL Builder

A tool for build GraphQL queries

Usage

import {buiderType, retornaParametros } from 'graphqlbuilder'

// build a type

const book = builderType('book',{isbn:'3747485xxxxxxx'})
// output: book (isbn:3747485xxxxxxx)

const bookwithParams = builderType('book',{isbn:'3747485xxxxxxx'}, retornaParametros(['name',retornaParametros(['address','email'])]))
// output: book (isbn:3747485xxxxxxx) {name, author: {address, email} }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published