Skip to content

Extend with options #488

@sylido

Description

@sylido

Is there a way to extend a schema and provide a json object that includes the "getErrorMessage" and/or other options?
Looking through the documentation and source code it seems like they would be ignored.

If that's not possible in the same command - is there a way to pass the custom "getErrorMessage" function after the schema has been extended - I can see how using the resulting _schema and making a new SimpleSchema() with it and passing in the options can work, but it seems like a lot.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions