Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Route parameter serialization made consistent for custom primitive types #1689

Merged
merged 2 commits into from
Aug 26, 2023

Conversation

tomasherceg
Copy link
Member

I've found that the route parameters were converted to string using IConvertible or plain ToString().
We should make sure that the primitive types are always serialized the same way.

Also, the query string parameters were using only ToString(). I've made these two share the same implementation.

@tomasherceg tomasherceg merged commit 069b871 into main Aug 26, 2023
14 of 15 checks passed
@tomasherceg tomasherceg deleted the fix/custom-primitive-types-redirects branch August 26, 2023 08:03
@exyi exyi added this to the Version 4.2 milestone Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants