Validation friendly "id" field types
We have a number of id reference fields in the schema for which we require just a "string" at the moment. This makes the (substantially sized) schema hard to reason for someone new to it, and of course adds to the potential for bugs that require later on migrating data to fix them, so we should improve on this.
-
Introduce types for at least those ID types that are referenced by other types. -
Reference the specific ID types where appropriate. There are some fields that are of course to some extent polymorphic, so this is going to need a case-by-case assessment.
Edited by Matias Piipari