Skip to content

Commit

Permalink
Update sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane32 committed Aug 20, 2024
1 parent 3163be6 commit fd99a81
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 23 deletions.
10 changes: 0 additions & 10 deletions Sample/DoNotMapClrTypeAttribute.cs

This file was deleted.

2 changes: 1 addition & 1 deletion Sample/GraphTypes/MutationType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public Mutation(TodoDbContext db)
_db = db;
}

public async Task<Todo> AddTodoAsync([Required] string title, string notes, CancellationToken cancellationToken)
public async Task<Todo> AddTodoAsync(string title, string notes, CancellationToken cancellationToken)
{
var todo = new Todo {
Title = title,
Expand Down
8 changes: 0 additions & 8 deletions Sample/RequiredAttribute.cs

This file was deleted.

4 changes: 0 additions & 4 deletions Sample/Sample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,4 @@
<ProjectReference Include="..\src\GraphQL.DI\Shane32.GraphQL.DI.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="Services\" />
</ItemGroup>

</Project>

0 comments on commit fd99a81

Please sign in to comment.