Skip to content

Commit b379ca4

Browse files
authored
Update SpeakerMutation.cs ExtendObjectType (#68)
Name.Set is obsolete
1 parent 87ac025 commit b379ca4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/session-8/GraphQL/Speakers/SpeakerMutations.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace ConferencePlanner.GraphQL.Speakers
77
{
8-
[ExtendObjectType(Name = "Mutation")]
8+
[ExtendObjectType("Mutation")]
99
public class SpeakerMutations
1010
{
1111
[UseApplicationDbContext]
@@ -26,4 +26,4 @@ public async Task<AddSpeakerPayload> AddSpeakerAsync(
2626
return new AddSpeakerPayload(speaker);
2727
}
2828
}
29-
}
29+
}

0 commit comments

Comments
 (0)