Discriminator wasn't getting set, causing validation failures in coercion sometimes
Cast the values of allowMultiple parameters
Now do it right...
(middleware) Use enum keys on input parameters too
Use correct variable to index enum key from array!
Proper casting of subtypes when operation return type is an array
Fill in default values when not specified, including for discriminators
Make it so discriminators can be optional; that is, a parent type can be used on its own if no discriminator is supplied and it is extended by one or more subtypes
.
more sub-model resolution
fix a bug causing 'null' fields to be added where they shouldn't
Clean up model coercion code, fix some inconsistencies with interactions between defaults/required/strict/discriminators