dotnet / dotnet/aspnetcore

RDG does not support route handlers that return an anonymous type

Open
#47,244 5 comments 0 reactions 0 assignees View on GitHub
area-minimal bug feature-rdg
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

Given the code:

```csharp
app.MapGet("/", () => new { Name = "Tester"});
```

The RDG will generate code that fails to comply because of the anonymous type is unspeakable.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.