How to query shared projects in graphql

Problem to solve

I’m trying to query shared projects for a specific group via graphql but can’t find a way to do so. I’m trying to do the equivalent of GET https://gitlab.com/api/v4/groups/{groupId}/projects but via graphql. The REST endpoint returns all projects, including shared projects, by default. The graphql counterpart omits shared projects, only direct projects get returned… does anyone know how I could include shared projects in graphql?

This is a sample of the query I’m trying to run

query {
    group(fullPath: "{groupPath}") {
        requireTwoFactorAuthentication
        projects(includeSubgroups: true, first:100) {
            nodes {
                id
                name
                fullPath
                nameWithNamespace
                archived
            }
        }
    }
}