You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similarly to spec_url and impl_url, this field should support either a single feature or an array of features, in anticipation of some BCD features becoming part of multiple web features:
Thanks for your proposal. The reason we chose to do this via tags is that the data model in web-features wasn't quite stable yet (and probably isn't right now either) and tags gives us flexibility to experiment. In web-features, you currently have features (ids), snapshots (e.g. "ecmascript-2015"), and groups ("javascript"). Additionally, aliases might be added soon.
In BCD, tags have helped be flexible with the emerging web-feature data model. So, in BCD you find "web-features:typed-arrays for a web-feature id and "web-features:snapshot:ecmascript-2015" for a web-feature snapshot (your proposal above doesn't discuss what to do with snapshot data). I briefly played with groups in BCD as well but then dropped them again. Daniel is probably soon going to experiment with aliases. So, it ist not just the web-features ID for which we need to think about here.
I agree, though: Long-term it would be good to promote web-feature ids and other data points to permanent own fields in BCD. However, I believe we are not quite there yet. I would at least wait until we saw some development with alias IDs and we need a to think about snapshots again, too.
What would you like to see added to BCD?
I'm proposing to replace the
web-features:X
tag values with a dedicatedfeature
orweb_feature
field.Example:
Similarly to
spec_url
andimpl_url
, this field should support either a single feature or an array of features, in anticipation of some BCD features becoming part of multiple web features:How impactful do you think this enhancement will be?
I believe that this enhancement will make it easier to consume the web-features.
Do you have anything more you want to share?
No response
The text was updated successfully, but these errors were encountered: