resolvers

package
v0.0.0-...-b77e144 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const VERSION = "0.0.1"

!!! WARNING !!! The code below was going to be deleted when updating resolvers. It has been copied here so you have one last chance to move it out of harms way if you want. There are two reasons this happens:

  • When renaming or deleting a resolver the old code will be put in here. You can safely delete it when you're done.
  • You have helper methods in this file. Move them out to keep these resolver files clean.

Variables

View Source
var User *models.User

Functions

func GetNullableInt

func GetNullableInt(i *int) nulls.Int

func GetNullableString

func GetNullableString(s *string) nulls.String

func SetTX

func SetTX(tx *pop.Connection)

func SetUser

func SetUser(u *models.User)

Types

type Resolver

type Resolver struct{}

func (*Resolver) Mutation

func (r *Resolver) Mutation() generated.MutationResolver

Mutation returns generated.MutationResolver implementation.

func (*Resolver) Query

func (r *Resolver) Query() generated.QueryResolver

Query returns generated.QueryResolver implementation.

Jump to

Keyboard shortcuts

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