Skip to content

Is it possible to use Impressionist with GraphQL? #296

@danvernon

Description

@danvernon

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

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