I have a boolean field associated with my custom entity. The field itself is hidden in the entity form however when an instance of my entity is created a field record is generated with the default value. This is not the case for a text field i have, where if the field is hidden the field record is not created.
Basically this creation of a default boolean field is messing up my views further down the line.
How can i prevent a default value boolean field being autogenerated when hidden?