fix: sync firebase config with #3351 #3604
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
#3351 allows Hosting deploys with no
public
dir if they had a rewrite rule.While the Hosting Config is validated during deployment, if-this-than-that requirements makes this configuration schema of very little use as all fields will eventually be represented as optional and the schema itself not represent the schema of the API. I've no idea if there is a solution to this with such flexible config requirements. I guess at worst it documents all field names 🤷