Let say I have data model called User
and another Called UserType
. And I can only delete an UserType
if the type is not used in any User
entry in the user table.
Now when I fetch the UserType
details do I fetch the constraints also that this UserType
is used in some user creation or not?
What would be a right approach according to REST best practice?