Skip to content

Allow providers to overwrite structural type scalar property order #38619

Description

@JoasE

What problem are you trying to solve?

Structural type scalar property order is determined internally by Core using PropertyNameComparer, and can't be overwritten by providers. However a different order might be warrented in some cases. For example: JSON entities that support inheritance hierarchies might want to put the discriminator as the first property for faster materialization. This is currently the case for the Cosmos DB provider.

Describe the solution you'd like

Some way to overwrite scalar property order for structural type instances

Metadata

Metadata

Assignees

No one assigned

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions