Skip to content
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

workspaces: Support member grouping #539

Open
shadows-withal opened this issue Jul 25, 2023 · 1 comment
Open

workspaces: Support member grouping #539

shadows-withal opened this issue Jul 25, 2023 · 1 comment

Comments

@shadows-withal
Copy link
Contributor

From #536. A workspace member could accept a group key, for example.

@jamesmunns
Copy link
Contributor

jamesmunns commented Jul 25, 2023

If you are able to preserve ordering, it might be easier to take an array of arrays for members, like:

"members": [
    [
        { "slug": "a", "path": "./a" },
        { "slug": "b", "path": "./b" },
    ],
    [
        { "slug": "c", "path": "./c" },
        { "slug": "d", "path": "./d" },
    ]
]

or as named groups:

"groups": [
    {
        "groupname": "one",
        "members": [
            { "slug": "a", "path": "./a" },
            { "slug": "b", "path": "./b" },
        ]
    }
]

That way you don't also have to define group ordering somewhere else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants