Skip to content

Schema loader should store a deep copy of the given model definition #46

@kbarbounakis

Description

@kbarbounakis

SchemaLoaderStrategy.setModelDefinition(data) is being used in order to allow setting a model schema by code. The method gets the given model schema and stores it into an internal collection of models. It would be safer to finally store a deep clone of the schema instead of using it as given.

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