Fully qualify CLR types in migrations when needed
Open
area-migrations
customer-reported
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 3.4k
- PR merge metrics
- PR metrics pending
Description
Our migration and model snapshot reference property CLR types, but if the type name happens to be ambiguous, the migration doesn't compile. We need to full-qualify the CLR type with its namespace when needed.
Flagged by @kosmakoff in https://github.com/npgsql/efcore.pg/issues/1976, where two enum types with the same name are referenced.
Contributor guide
Assessment
This issue has not been assessed yet.