Garados007 / Garados007/MaxLib.WebServer
Use polymorphic JSON serialization for WebSocket events
- Dominant language
- C#
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
`System.Text.Json` has introduced polymorphic JSON serialization which allows to serialize and deserialize objects without writing custom converter. This can make the user faced API simpler and easier to write new code. To get this working .NET 7.0 or higher is required.
Implementing this can break with old versions of the web server as this changes the handling of events completely.
More information: https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/polymorphism?pivots=dotnet-7-0
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the WebSocket event serialization and deserialization path, then check the project's target framework and current event handling. Read the linked System.Text.Json polymorphism guidance before assessing the .NET 7 requirement. Done means polymorphic serialization handles WebSocket events and the impact on older web-server versions is addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100