-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Fix precompiled query generation for shadow property names that are not valid identifiers #38458
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
base: main
Are you sure you want to change the base?
Changes from all commits
4034ebb
5df419d
975fab3
d83e0d5
a928c0d
0e95a84
eeb2c51
1d73484
3a006aa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1230,6 +1230,10 @@ | |
| <value>The property '{entityType}.{property}' was created in shadow state because there are no eligible CLR members with a matching name.</value> | ||
| <comment>Debug CoreEventId.ShadowPropertyCreated string string</comment> | ||
| </data> | ||
| <data name="LogShadowPropertyNameNotValidIdentifier" xml:space="preserve"> | ||
| <value>The shadow property '{entityType}.{property}' has a name that is not a valid identifier. This can cause issues in generated code. Consider renaming the property to start with a letter or underscore, and use only letters, digits, and underscore.</value> | ||
| <comment>Warning CoreEventId.ShadowPropertyNameNotValidIdentifierWarning string string</comment> | ||
|
Comment on lines
+1233
to
+1235
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @copilot Adjust the message
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Adjusted in 3a006aa. |
||
| </data> | ||
| <data name="LogSkipCollectionChangeDetected" xml:space="preserve"> | ||
| <value>{addedCount} entities were added and {removedCount} entities were removed from skip navigation '{entityType}.{property}'. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.</value> | ||
| <comment>Debug CoreEventId.SkipCollectionChangeDetected int int string string</comment> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.