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

error when setting config option in toml file #585

Closed
cybor0 opened this issue Jun 11, 2016 · 2 comments
Closed

error when setting config option in toml file #585

cybor0 opened this issue Jun 11, 2016 · 2 comments

Comments

@cybor0
Copy link

cybor0 commented Jun 11, 2016

hz serve --dev
C:\Users..\horizon\src\serve.js:328
throw new Error(Unknown config parameter: "${field}".);
^

Error: Unknown config parameter: "groups".

[groups.default.rules.read_current_user]
template = "collection('users').find({id: userId()})"

@deontologician
Copy link
Contributor

This should be in a separate schema.toml file, not in the config.toml

@cybor0
Copy link
Author

cybor0 commented Jun 11, 2016

Ok thx

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