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

[GraphQL Plugin] viewer query #67

Open
taras opened this issue Aug 9, 2022 · 0 comments
Open

[GraphQL Plugin] viewer query #67

taras opened this issue Aug 9, 2022 · 0 comments

Comments

@taras
Copy link
Member

taras commented Aug 9, 2022

Motivation

As a developer writing features that use the GraphQL API provided by the GraphQL Plugin, I need to be able to query for data of a user who's using the application. For example, I should be able to retrieve my components using the following query.

{
  viewer {
    components {
       id
    }
  }
}

This query should return components that are owned by the user who's querying.

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

1 participant