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

Refactor failIfReserved #145

Open
ikicic opened this issue Oct 8, 2020 · 0 comments
Open

Refactor failIfReserved #145

ikicic opened this issue Oct 8, 2020 · 0 comments

Comments

@ikicic
Copy link
Collaborator

ikicic commented Oct 8, 2020

The plugin developer is expected to invoke failIfReserved manually to ensure that the user didn't request creating a channel with a reserved name.
Instead of manually doing the check (which could easily be forgotten), it should be done automatically in requireDataPerParticle and requireDataPerObject, while the core should use "private" variants of these two functions which do not perform such a check.

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

1 participant