Skip to content

FromODataUriAttribute binds string property as number #2852

@janis938

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions