Introduce Definition::getShapingType()
peldax opened this issue · comments
Common pattern is looking up a type which is a not-null type. Currently it is done manually ising branching, but this should be replaced to simplify the code.
Known usages
- WhereDirective validate type
- maybe more