-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update functionality of globals config
* The implicit default is `false` -- no globals at all * If `sails.config.globals` is not `false`, it must be a dictionary such that: - If `sails.config.globals._` is not `false`, it must be an object - If `sails.config.globals.async` is not `false`, it must be an object - `sails.config.globals.models` must be a boolean - `sails.config.globals.sails` must be a boolean * `sails.config.globals.services` still defaults to `true` if ``sails.config.globals` is a dictionary, because otherwise we have to talk about it explicitly and we're trying to phase services out.
- Loading branch information
Showing
6 changed files
with
760 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.