-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Add runtime annotation support to model #22031
Comments
Runtime annotations can only be added to a read-only model and ModelRuntimeInitializer is the service that adds the required ones. Model validation has been moved to ModelRuntimeInitializer. Fixes #22031
Runtime annotations can only be added to a read-only model and ModelRuntimeInitializer is the service that adds the required ones. Model validation has been moved to ModelRuntimeInitializer. Fixes #22031
Runtime annotations can only be added to a read-only model and ModelRuntimeInitializer is the service that adds the required ones. Model validation has been moved to ModelRuntimeInitializer. Fixes #22031
Runtime annotations can only be added to a read-only model and ModelRuntimeInitializer is the service that adds the required ones. Model validation has been moved to ModelRuntimeInitializer. Fixes #22031
Runtime annotations can only be added to a read-only model and ModelRuntimeInitializer is the service that adds the required ones. Model validation has been moved to ModelRuntimeInitializer. Fixes #22031
Runtime annotations can only be added to a read-only model and ModelRuntimeInitializer is the service that adds the required ones. Model validation has been moved to ModelRuntimeInitializer. Fixes #22031
Runtime annotations can only be added to a read-only model and ModelRuntimeInitializer is the service that adds the required ones. Model validation has been moved to ModelRuntimeInitializer. Fixes #22031
Runtime annotations can only be added to a read-only model and ModelRuntimeInitializer is the service that adds the required ones. Model validation has been moved to ModelRuntimeInitializer. Fixes #22031
Are those the same as regular annotations, with the key difference of not leaking into any output files, and are therefore intended (from a provider point of view) to keep track of stuff internally, without the need to carefully clean-up those annotations later on? |
@lauxjpn The key difference is that non-runtime annotations cannot be mutated after the model is built. Runtime annotations can appear in files, like the compiled model in some cases to improve perf. The providers are free to use both as they see fit. Any that shouldn't be output can be removed in classes derived from |
Can be used to store the relational model,
TypeMappingSource
, relational overrides (that don't affect configuration), property indexes/accessors, generating/propagating properties inValueGenerationManager
Related to #9329, #19213, #19806 and #21901
Also review the nullability of some methods:
GetKeyValueComparer
,CreateDependentsMapFactory
, etc...The text was updated successfully, but these errors were encountered: