-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Because of this line, we get an exception thrown, when someone does not specify a type on a property:
| ->scalarNode(SchemaKey::TYPE)->defaultValue(null)->end() |
Since it defaults to null, if someone forgets to put a type in their definition,
instead of being handled later as mixed (as it should be) it throws an exception at :
| $propertyDefinition->setType(VariableType::fromString($data[SchemaKey::TYPE])); |
I suspect, the fix would be to change the defaultValue null to VariableType::UNDEFINED.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers