Closed Olenka-Hryk closed 4 days ago
It is not good to delete resourceType
because it provides critical information about the type of resource being referenced. Without it, the system would not know what model to use for the resource, leading to potential errors and inconsistencies.
Delete resourceType from Cooperation & Course models
The
resourceType
field is redundant in both theCooperation
andCourse
models. It is always determined by theresource
object. Therefore, it should be removed from both models to improve data consistency and reduce unnecessary redundancy. This will also simplify queries and data manipulation operations.