Skip to content

IgorDePaula/graphqlbuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2fd9a5d · Jul 21, 2017

History

10 Commits
Jul 21, 2017
Jul 21, 2017
Jul 21, 2017
Jul 21, 2017
Jul 21, 2017
Jul 21, 2017

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