Supporting multiple datamodels with same type names #11543
Closed
2 tasks done
Labels
kind/user-story
Used for issues that describes functionality for our users.
status/ready-for-dev
Status: Used for issues that are ready for development. Has been through grooming.
Description
If you generated multiple data models within an app and you happen to name some of the types the same you will get a conflict on the generated C# models. Avoiding types with the same name doesn't seem feasible and we should support this case in order to support the multiple data models scenario. The types are not necessarily the "same" either - a Person type in one model can be different than a Person type in the other model.
Additional Information
This can potentially be solved by using namespacing in the generated models where the model name is used as a namespace in addition to the default
Altinn.App.Models
likeAltinn.App.Models.Hovedskjema
.Tasks
Acceptance Criterias
The text was updated successfully, but these errors were encountered: