Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decide the fate of the MessegeBox property #77

Closed
Szayet opened this issue Mar 12, 2017 · 1 comment
Closed

Decide the fate of the MessegeBox property #77

Szayet opened this issue Mar 12, 2017 · 1 comment

Comments

@Szayet
Copy link

Szayet commented Mar 12, 2017

The documentation shows the MessageBox both being as a global/constant property and as an instanced property.

Pro for constant:

Contra:

  • Could not create Schema specific errors.

Also worth considering the MesseBox related ehancment plan #53.

@aldeed
Copy link
Collaborator

aldeed commented Jun 19, 2017

I don't think there's anything to do here. messageBox is instance-specific, but you can call SimpleSchema.setDefaultMessages to set the defaults used by all schemas initially.

@aldeed aldeed closed this as completed Jun 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants