-
Notifications
You must be signed in to change notification settings - Fork 929
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
Allow deploying firestore without indexes #494
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, but please address my comment. 👍
lib/deploy/firestore/prepare.js
Outdated
@@ -21,7 +21,11 @@ function _prepareRules(context, options) { | |||
} | |||
|
|||
function _prepareIndexes(context, options) { | |||
return context.firestoreIndexes ? firestoreIndexes.prepare(context, options) : RSVP.resolve(); | |||
if (!(context.firestoreIndexes && options.config.get('firestore.indexes'))) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This negation is making my eyes cross, please rewrite as:
if (!context.firestoreIndexes || !options.config.get('firestore.indexes'))
@mbleigh comment addressed, please merge when ready (not sure about your merging policies on this repo) |
adds ext:info support for local extensions
Fixes #493