...

Source file src/github.com/99designs/gqlgen/graphql/deferred.go

Documentation: github.com/99designs/gqlgen/graphql

     1  package graphql
     2  
     3  import (
     4  	"context"
     5  
     6  	"github.com/vektah/gqlparser/v2/ast"
     7  	"github.com/vektah/gqlparser/v2/gqlerror"
     8  )
     9  
    10  type Deferrable struct {
    11  	Label string
    12  }
    13  
    14  type DeferredGroup struct {
    15  	Path     ast.Path
    16  	Label    string
    17  	FieldSet *FieldSet
    18  	Context  context.Context
    19  }
    20  
    21  type DeferredResult struct {
    22  	Path   ast.Path
    23  	Label  string
    24  	Result Marshaler
    25  	Errors gqlerror.List
    26  }
    27  

View as plain text