Skip to content

utils.configureHook breaking change in 2.2.1 #61

@pipedrive-bot

Description

@pipedrive-bot

Although the use case is very specific, the change of adding overwrite flag in configureHook was a breaking one.

Before the change this worked:

Validate.configureHook(hook, data, root);

However in #54 another parameter was added to the signature, without backwards compatibility. So for this case, overwrite flag now has to be specified everywhere it’s used.

In addition - as for the consistency – the overwrite flag is not specified the same way as with Validate.installScript() or Validate.copy() methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions