Skip to content

Add workspace ID to preview #875

@Decipher

Description

@Decipher

Package

I’m not sure

Describe the feature request

In the case that workspaces is enabled, the frontend needs the workspace ID so that it can be used to ensure workspace specific entities are returned.

Describe the solution you'd like

Add workspace query parameter to the preview.

Describe alternatives you've considered

Additional context

In this implementation, the workspace ID is being sent back as a header and a Drupal EventSubscriber is using the header to set the active workspace for a GraphQL session.,

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageA new issue that needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions