Fix
parent
d4fcd80ff8
commit
3b35885c90
|
|
@ -5,10 +5,8 @@ import (
|
|||
"reflect"
|
||||
)
|
||||
|
||||
type Field *graphql.Field
|
||||
|
||||
func NewField(init func()*graphql.Field) Field {
|
||||
return Field(init())
|
||||
func NewField(init func()*graphql.Field) *graphql.Field {
|
||||
return init()
|
||||
}
|
||||
|
||||
type Singleton[K graphql.Type] struct {
|
||||
|
|
|
|||
Loading…
Reference in New Issue