Skip to content

Fieldsets should be defined per resource path instead of resource type #1091

Open
@mwhite

Description

@mwhite

This is a significant limitation of the existing spec.

If I do a request to a repo resource and want to get multiple related sets of users for each repo in the same request, say, owner, collaborators, watchers, and/or organization.members, there is no way to have a different sparse fieldset for each set of users.

Fields should be able to be defined as fields[owner]=&fields[organization.members]= instead of fields[user].

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