Skip to content

Support for _drop_dynamic_properties #161

@gastlich

Description

@gastlich

Hi there,
it would be nice, if there was a way of dropping dynamic properties instead of allowing them or not.

Currently the default behaviour is accepting dynamic properties (_allow_dynamic_properties = True).
By changing this attribute, the library raises an error, and this is a valid approach in a case when you would like to be very strict about your schema. In our case we would like to be very strict on things we defined in the schema manually, but drop all dynamic fields additionally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions