Introduce Definition::getShapingType()
peldax opened this issue · 0 comments
peldax commented
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