-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Support new structure of web features data.json
The Web Features repo changed the structure of the data.json in this PR: web-platform-dx/web-features#1060 Instead of being a map of features, it is now an object with three top level keys: - features - groups - snapshots This is a breaking change and has caused us to start ingesting features as if they had IDs: features, groups, snapshots This commit fixes that by updating the defs.schema.json to be the latest version (v0.10.0). This file comes from the web features repo. After auto-generating the code for that schema file, this commit adjusts the code to use it. We previously had v0.6.0 of the schema. And since then, some optional fields have become required fields. So you will see the removal of some nil checks (since now the field is not nullable). Change-Id: I9861421bc53ec8966eee80c33742d2a7e94d744c
- Loading branch information
1 parent
6f069fc
commit b296237
Showing
10 changed files
with
544 additions
and
218 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.