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

Is it possible to use Impressionist with GraphQL? #296

Open
danvernon opened this issue Feb 13, 2021 · 0 comments
Open

Is it possible to use Impressionist with GraphQL? #296

danvernon opened this issue Feb 13, 2021 · 0 comments

Comments

@danvernon
Copy link

danvernon commented Feb 13, 2021

When trying to use it in a query to log out a post view, I get impressionist method undefined.

def resolve(id:)
  post = Post.find(id)
  impressionist(post) 
  return post if post.present?
end
@invalidusrname invalidusrname changed the title Is it possible to use Impressionist with Grpahql? Is it possible to use Impressionist with GraphQL? May 3, 2021
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

No branches or pull requests

1 participant