Skip to content
New issue

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

Debug output that indexer properties are created in shadow state is incorrect #33484

Closed
ajcvickers opened this issue Apr 6, 2024 · 0 comments · Fixed by #33488
Closed

Debug output that indexer properties are created in shadow state is incorrect #33484

ajcvickers opened this issue Apr 6, 2024 · 0 comments · Fixed by #33488
Labels
area-logging area-model-building closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Milestone

Comments

@ajcvickers
Copy link
Member

Indexer properties are stored in the entity instance (e.g. in a dictionary), not in shadow state.

bug: 4/6/2024 13:32:56.447 CoreEventId.ShadowPropertyCreated[10600] (Microsoft.EntityFrameworkCore.Model.Validation) 
      The property 'BlogTag (Dictionary<string, object>).TagsId' was created in shadow state because there are no eligible CLR members with a matching name.
ajcvickers added a commit that referenced this issue Apr 7, 2024
…r indexer properties

We currently log these messages a lot when people are doing many-to-many config, which is unhelpful.

Fixes #33484
@ajcvickers ajcvickers self-assigned this Apr 7, 2024
@ajcvickers ajcvickers added area-model-building type-bug area-logging closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. labels Apr 7, 2024
@ajcvickers ajcvickers added this to the 9.0.0 milestone Apr 7, 2024
ajcvickers added a commit that referenced this issue Apr 8, 2024
…r indexer properties (#33488)

We currently log these messages a lot when people are doing many-to-many config, which is unhelpful.

Fixes #33484
@ajcvickers ajcvickers modified the milestones: 9.0.0, 9.0.0-preview4 Apr 8, 2024
@ajcvickers ajcvickers removed their assignment Aug 31, 2024
@roji roji modified the milestones: 9.0.0-preview4, 9.0.0 Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-logging area-model-building closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Projects
None yet
2 participants