Skip to content

Cosmos: Values passed to WithPartionKey should be model values, not store values #33535

@ajcvickers

Description

@ajcvickers

For example, currently if the partition key is an int mapped to a string in the database, then the string value is required. Instead, the application should always pass the value as it is defined in their model, and EF should convert to string if needed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions