generator

package
v0.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2020 License: Unlicense Imports: 11 Imported by: 0

Documentation

Overview

Where all the magic happens

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConstructObjectFromPArgs

func ConstructObjectFromPArgs(modelType reflect.Type, p *graphql.ResolveParams) *interface{}

Reads out the GraphQL arguments and writes them into a new object. Consider this as a kind of deserialization.

func GenerateGraphQLSchema

func GenerateGraphQLSchema(db *database.Database, excludeModels []interface{}, models ...interface{}) (graphql.Schema, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL