Can't Extend Graphql Schema

Hi there

I am trying to extend Graphql I just created a hook of addons/graphql_api/schemas/graphql_types/query.php in my addon addons/graphql_api/schemas/graphql_types/query.post.php

the issue raised is that the new hook file query.post.php override all queries in the original file

addons/graphql_api/schemas/graphql_types/query.php

if you check Service class in app/addons/graphql_api/Tygh/Addons/GraphqlApi/Service.php

you will see it loading schema just like normal like other schema except for graphql, it's really weird!!

I have cleared cache file manually multiple time but still the same issue.

Is this addon really extendable ????

Hello!

I have checked this, the mentioned scheme is extended like any other one. For example, I have extended it via My changes add-on:

app/addons/my_changes/schemas/graphql_types/query.post.php

And it works as intended. Make sure to clear the cache after adding the new scheme, since list of schemes is being cached.

Hope it helps.