foundry-vtt-types
foundry-vtt-types copied to clipboard
Allow interior `SchemaField` and `EmbeddedDataField` instances to take `undefined` or `null` if they can be initialized
trafficstars
- [ ] The
darknessfield infoundry.documents.BaseAmbientSoundis a SchemaField that is not required and can be safely initialized from a value of an explicitundefinedornull, but currently errors in the tests - [ ] The
texturefield offoundry.documents.BaseNoteis an EmbeddedDataField that is not required and can be safely initialized from a value of an explicitundefinedornull, but currently errors in the tests
This is a part of the broader issue that the check for if field.initial can be assigned to the field's assignment type is incomplete.