canton7 / canton7/RestEase

Support for standard ASP.NET Core MVC query parameter binding

Open
#162 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.1k
Forks
114
PR merge metrics
No merged PRs in 30d

Description

Hi! I was wondering why RestEase doesn’t support [serialization of complex type parameters](https://github.com/canton7/RestEase#serialization-of-variable-query-parameters) in a format compatible with ASP.NET Core MVC by default. It’s possible to do if you implement a custom serializer, but wouldn’t it be better to include this functionality in the box?

I implemented a simple version of such a serializer to use in my projects at work [ComplexTypeRequestQueryParamSerializer](https://github.com/rsivanov/RestEase.Serialization.Extensions). Maybe you would consider to do something alike for the future version of RestEase introducing an additional QuerySerializationMethod.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with RestEase’s linked “serialization of variable query parameters” documentation and compare the proposed behavior with the linked ComplexTypeRequestQueryParamSerializer implementation. Determine the required QuerySerializationMethod and verify that complex parameters serialize in a format compatible with ASP.NET Core MVC; the issue names no repository file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.