Cannot override or deactivate certain GraphQL resolvers for plugins (users-permissions & upload)

Hi Sunny, thanks for the quick reply.

In order :slight_smile: :

  1. my bad, I did update the file in the correct path. just messed up my post.
    it is indeed in ‘/extensions/upload/config/schema.graphql.js’
  2. yes, filesCAN’T be accessed. so far so good.
    but the mutations I mentioned, upload , multipleUpload & updateFileInfo are still there, right?
  3. I need the GraphQL API, so can’t deactivate it.

I am now getting into hooks and will try to install one either before the graphql initialize to remove the plugin schemas or afterwards, to delete them from the unified base schema thats being created…
But it would’ve been nicer if it just worked as described in the docs. Seems a little like a bug to me, so I also opened an issue on Github where I added some screenshots to illustrate my problem.

Cheers,
Alex

1 Like