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

(feat): Create GraphQL viewer query #4019

Merged
merged 9 commits into from
Mar 16, 2018

Conversation

mikemurray
Copy link
Member

Resolves #3911
Impact: minor
Type: feature

Issue

Add a viewer query in GraphQL

Solution

Create a query using existing functions created for use with the account query. Update permissions of userAccountQuery method to allow queries for a user's own account.

Breaking changes

none

Testing

  1. Start Reaction
  2. Sign in as any user
  3. Navigate to http://localhost:3000/graphiql
  4. Use below query to find the current user's account
{
   viewer
}

@brent-hoover brent-hoover mentioned this pull request Mar 16, 2018
@mikemurray mikemurray changed the title [WIP] (feat): Create GraphQL viewer query (feat): Create GraphQL viewer query Mar 16, 2018
@aldeed aldeed force-pushed the feat-3911-mikemurray-graphql-viewer-query branch from 8a28aa1 to fc88508 Compare March 16, 2018 20:40
@aldeed aldeed changed the base branch from feat-3912-kieckhafer-createGraphqlAccountQuery to release-1.10.0 March 16, 2018 20:42
@aldeed aldeed merged commit 0581a27 into release-1.10.0 Mar 16, 2018
@aldeed aldeed deleted the feat-3911-mikemurray-graphql-viewer-query branch March 16, 2018 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants