...

Package model

import "github.com/99designs/gqlgen/plugin/federation/testdata/allthethings/model"
Overview
Index

Overview ▾

type ExternalExtension

type ExternalExtension struct {
    UPC     string
    Reviews []*World
}

func (ExternalExtension) IsEntity

func (ExternalExtension) IsEntity()

type Hello

type Hello struct {
    Name      string
    Secondary string
}

func (Hello) IsEntity

func (Hello) IsEntity()

type MoreNesting

type MoreNesting struct {
    ID    string
    World *World
}

func (MoreNesting) IsEntity

func (MoreNesting) IsEntity()

type MultiHelloMultiKey

type MultiHelloMultiKey struct {
    Name string
    Key2 int
}

func (MultiHelloMultiKey) IsEntity

func (MultiHelloMultiKey) IsEntity()

type MultiHelloMultiKeyByKey2sInput

type MultiHelloMultiKeyByKey2sInput struct {
    Key2s []string `json:"Key2s"`
}

type MultiHelloMultiKeyByNamesInput

type MultiHelloMultiKeyByNamesInput struct {
    Names []string `json:"Names"`
}

type NestedKey

type NestedKey struct {
    ID    string
    Hello *Hello
}

func (NestedKey) IsEntity

func (NestedKey) IsEntity()

type VeryNestedKey

type VeryNestedKey struct {
    ID     string
    Hello  *Hello
    World  *World
    Nested *NestedKey
    More   *MoreNesting
}

func (VeryNestedKey) IsEntity

func (VeryNestedKey) IsEntity()

type World

type World struct {
    Foo string
    Bar int
}

func (World) IsEntity

func (World) IsEntity()