Skip to content

Commit 502fac2

Browse files
committed
merge conflict errors
1 parent 9d304f9 commit 502fac2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

internal/exec/packer/packer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func (b *Builder) makePacker(schemaType types.Type, reflectType reflect.Type) (p
115115
}
116116

117117
func (b *Builder) makeNonNullPacker(schemaType types.Type, reflectType reflect.Type) (packer, error) {
118-
if u, ok := reflect.New(reflectType).Interface().(Unmarshaler); ok {
118+
if u, ok := reflect.New(reflectType).Interface().(decode.Unmarshaler); ok {
119119
if !u.ImplementsGraphQLType(schemaType.String()) {
120120
return nil, fmt.Errorf("can not unmarshal %s into %s", schemaType, reflectType)
121121
}

internal/exec/resolvable/resolvable.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"strings"
88

99
"github.com/graph-gophers/graphql-go/decode"
10-
"github.com/graph-gophers/graphql-go/internal/common"
1110
"github.com/graph-gophers/graphql-go/internal/exec/packer"
1211
"github.com/graph-gophers/graphql-go/types"
1312
)

0 commit comments

Comments
 (0)