Skip to content

FromODataUriAttribute binds string property as number #2852

Description

@janis938

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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions