We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using the [FromODataUri] attribute for a string property starting with a digit, it gets interpreted as a number.
In Controller: [FromODataUri] string appId. Then send request localhost:5004/controller?appId=105E84FF1024
appId = "105E84FF1024"
appId = "Infinity"
The text was updated successfully, but these errors were encountered:
The string should be single quoted localhost:5004/controller?appId='105E84FF1024'
localhost:5004/controller?appId='105E84FF1024'
Sorry, something went wrong.
But why is it that when using the [FromQuery] attribute it works without the quotes and not with?
No branches or pull requests
When using the [FromODataUri] attribute for a string property starting with a digit, it gets interpreted as a number.
Reproduce steps
In Controller: [FromODataUri] string appId. Then send request localhost:5004/controller?appId=105E84FF1024
Expected result
appId = "105E84FF1024"
Actual result
appId = "Infinity"
The text was updated successfully, but these errors were encountered: