Skip to content
#

graphql-ruby

Here are 56 public repositories matching this topic...

danielnc
danielnc commented Jun 11, 2021

I am trying to use both fragment caching + action policy and due to lack of documentation I am unable to make it work if I have a authorized_scope: true if my field

if I have a field like this:
field :collections, [CollectionType], null: false, authorized_scope: true, cache_fragment: { context_key: :current_user } do

I get an error:

Couldn't find policy class for.... "Could

Improve this page

Add a description, image, and links to the graphql-ruby topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the graphql-ruby topic, visit your repo's landing page and select "manage topics."

Learn more