Skip to content

Add a group field? #648

Closed
Closed
@Elchi3

Description

@Elchi3

From my cataloging research (see #579), we discussed having a group field so that feature-definition bundles could be connected to a higher level platform capability.

We could for example say that "Arrays" and "Typed Arrays" are higher level platform capabilities that are made of a bunch of feature bundles:

Group "Arrays" consisting of these bundles:

  • array.yml
  • array-at.yml
  • array-by-copy.yml
  • array-copywithin.yml
  • array-fill.yml
  • array-find.yml
  • array-findlast.yml
  • array-flat.yml
  • array-from.yml
  • array-fromasync.yml
  • array-isarray.yml
  • array-iteration-methods.yml
  • array-iterators.yml
  • array.of.yml
  • array-splice.yml

Group "Typed Arrays" consisting of these bundles:

  • typed-arrays.yml
  • typed-array-iteration-methods.yml
  • typed-array-iterators.yml
  • array-at.yml
  • array-by-copy.yml
  • array-copywithin.yml
  • array-fill.yml
  • array-find.yml
  • array-findlast.yml
  • array-from.yml
  • array.of.yml

With this you could make some statements/calculations with the higher level group:

  • Is the whole group baseline?
  • If not, which feature bundles are already baseline and which aren't?
  • Compute a "Arrays 2024" group (say all feature bundles baselined up to 1-1-2024)

As a second step, we could think about how groups relate to each other:

In #624 (comment) @foolip says:

I was thinking about "collections" as a kind of group containing arrays, sets, weak maps, etc. In the spec it'd be both indexed collections and keyed collections.

So, maybe somewhere we want to go even higher level and say that groups can form a new group:

Group "Indexed Collections" consisting of

  • group: arrays
  • group: typed-arrays

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions