Skip to content

Commit 324a465

Browse files
authored
fix: supply name arg for update (#123)
1 parent a0c2b88 commit 324a465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gateway/schema/schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ func (g *Gateway) processSingleResource(
238238

239239
mutationGroupType.AddFieldConfig("update"+singular, &graphql.Field{
240240
Type: resourceType,
241-
Args: creationMutationArgsBuilder.WithObjectArg(resourceInputType).Complete(),
241+
Args: creationMutationArgsBuilder.WithNameArg().Complete(),
242242
Resolve: g.resolver.UpdateItem(*gvk, resourceScope),
243243
})
244244

0 commit comments

Comments
 (0)