# /core/modules/views/config/schema/views.filter.schema.yml, lines 156-157
views.filter_value.boolean:
type: stringThis exports all views that use a boolean filter (e.g.: Published, aka 'status') as a string of either '1' or '0'. This should be a boolean. When changing a view manually to set a status filter from '0' to true (sic), it will cause schema validation errors, even though all other keys surrounding 'value', such as 'exposed, correctly use a YAML boolean notation.
Might need to bump to 9.x-dev as changing this now will break everyone's view exports/default config validation.
Comments
Comment #3
lendudeThis is by design, boolean filter values can contain more than just booleans. ¯\_(ツ)_/¯
See #2459289: Boolean default values are not saved
Comment #4
kristiaanvandeneyndeOh lol okay :)