[EF-38] Create a ModelValidator to validate the model Created: 17/Aug/23 Updated: 17/Aug/23 Resolved: 17/Aug/23 |
|
| Status: | Closed |
| Project: | Entity Framework |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Unknown |
| Reporter: | Damien Guard | Assignee: | Damien Guard |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
There are several checks we need to perform at the end of the model building process to ensure we can deal with the completed model. 1. Ensure all Element Names are unique within an entity 2. Ensure that the primary key is mapped to `_id` 3. Ensure no shadow properties exist on the model |