chore: add apps from go.sour.is/ev
This commit is contained in:
35
internal/graph/generated/federation.go
Normal file
35
internal/graph/generated/federation.go
Normal file
@@ -0,0 +1,35 @@
|
||||
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
|
||||
|
||||
package generated
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"strings"
|
||||
|
||||
"github.com/99designs/gqlgen/plugin/federation/fedruntime"
|
||||
)
|
||||
|
||||
var (
|
||||
ErrUnknownType = errors.New("unknown type")
|
||||
ErrTypeNotFound = errors.New("type not found")
|
||||
)
|
||||
|
||||
func (ec *executionContext) __resolve__service(ctx context.Context) (fedruntime.Service, error) {
|
||||
if ec.DisableIntrospection {
|
||||
return fedruntime.Service{}, errors.New("federated introspection disabled")
|
||||
}
|
||||
|
||||
var sdl []string
|
||||
|
||||
for _, src := range sources {
|
||||
if src.BuiltIn {
|
||||
continue
|
||||
}
|
||||
sdl = append(sdl, src.Input)
|
||||
}
|
||||
|
||||
return fedruntime.Service{
|
||||
SDL: strings.Join(sdl, "\n"),
|
||||
}, nil
|
||||
}
|
||||
6599
internal/graph/generated/generated.go
Normal file
6599
internal/graph/generated/generated.go
Normal file
File diff suppressed because it is too large
Load Diff
1
internal/graph/generated/pkg.go
Normal file
1
internal/graph/generated/pkg.go
Normal file
@@ -0,0 +1 @@
|
||||
package generated
|
||||
Reference in New Issue
Block a user