directive

package
v0.0.0-...-f46f3e0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Personal

func Personal(context context.Context, obj interface{}, next graphql.Resolver) (interface{}, error)

Directive used to restrict fields to the currently authenticated user only.

func Protected

func Protected(context context.Context, obj interface{}, next graphql.Resolver) (interface{}, error)

Directive used to restrict fields to authenticated users only.

Types

This section is empty.

Jump to

Keyboard shortcuts

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