CockpitQL
CockpitQL copied to clipboard
GraphQL addon for Cockpit CMS - https://github.com/agentejo/cockpit
In the Rest-API view the "copy" button covers the CURL command... which is nice to see the full endpoint. Suggestion: the "copy" button could be _next_ to text field, not...
The following error occurred, as the statement was not compatible. "\nFatal error: Declaration of CockpitQL\\Types\\JsonType::parseLiteral($valueNode, ?array $variables = NULL) must be compatible with GraphQL\\Type\\Definition\\LeafType::parseLiteral(GraphQL\\Language\\AST\\**Node** $valueNode, ?array $variables = NULL) in...
i am trying to get a field that type is object but i get an error message ``` { allPosts(filter:{published:true}){ _id, title content image{ path } config{ children } }...
I've installed cockpit and CockpitQL (git clone to addons folder). But I cannot access API. I've always get: `{"error":"Unauthorized"}` In logs there isn't any information, and I'm using `Full access...
I use the [BetterSlugs-Addon](https://github.com/pauloamgomes/CockpitCMS-BetterSlugs) but the field created by it can not be queried with this addon. Is there a special way to populate the CockpitQL with those new fields...
Remove resolver of `collectionlink` field, since it can be populated (and localized) through `collections` or `singletons` resolver.
Repro Steps: 1) Send a GET request to /cockpit/api/graphql/query specifying valid gql "query" parameter per specification at: https://graphql.org/learn/serving-over-http/ 2) Note that the query is parsed correctly, and response is sent...
## Current It seems that the `token` parameter is always needed when getting data. Even if the requested data has public visibility. ## Expected 1. The token is only required...
I try to filter collection by tags fieldtype, but as a result I always see empty array. I tried to use code below with few other variants, but no success....
I've gone through the link https://github.com/agentejo/CockpitQL I'm not sure where to place the GraphQL folder and what to modify in my cockpit project.