Gato GraphQL Questions

Log in to ask a question
Showing 1 - 20 of 33 questions

Q: What does these features mean?

What does Internal GraphQL server & Persisted queries mean?
when are these features important?

amuralikumarPLUSApr 10, 2025
See detail
Founder Team
Leonardo_GatoGraphQL

Leonardo_GatoGraphQL

Apr 10, 2025

A: The Internal GraphQL Server can be invoked within your application, using PHP code. You can use it to trigger the execution of a GraphQL query whenever some action happens, to perform some related task (such as sending a notification, adding a log entry, validating a condition, etc).

Persisted queries are normal GraphQL queries, however they are stored in the server and accessed under their own URL, thus emulating a REST endpoint. They provide the advantages of both REST and GraphQL. They allow you to execute tasks directly within the wp-admin, without deploying any code. (Eg: the automations are executions of persisted queries, that you code directly in the wp-admin)

Docs:

- https://gatographql.com/extensions/persisted-queries
- https://gatographql.com/extensions-reference/persisted-queries
- https://gatographql.com/extensions/internal-graphql-server
- https://gatographql.com/extensions-reference/internal-graphql-server/

Share
Helpful?

Q: How is this plugin different than WPGraphQL?

What new does this plugin offer compared to WPGraphQL?

amuralikumarPLUSApr 9, 2025
See detail
Founder Team
Leonardo_GatoGraphQL

Leonardo_GatoGraphQL

Apr 10, 2025

A: It's explained in the comparison post: https://gatographql.com/comparisons/gatographql-vs-wpgraphql

Share
Helpful?

Q: Write access

Hi,
Is it only for reading wordpress data or is there still a way to update this data?

cloudbeansPLUSApr 8, 2025
See detail
Founder Team
Leonardo_GatoGraphQL

Leonardo_GatoGraphQL

Apr 8, 2025

A: Both, read and write. In the website, in the "Query examples" section of the guides, it shows several examples of what you can do. For instance, to create posts: https://gatographql.com/guides/query/posts#creating-posts

Share
Helpful?

Q: Is it possible to map Gutenberg blocks with any page builder?

I wondering if I say create a section, heading or any htlm element and map it to a Gutenberg block. I'd like for the design in Bricks to synch with Bricks one to one. I delete an element in Gutenberg or Bricks it synchs with each other.

stephen339Apr 6, 2025
See detail
Founder Team
Leonardo_GatoGraphQL

Leonardo_GatoGraphQL

Apr 7, 2025

A: Gutenberg: yes. Check the docs:

- https://gatographql.com/guides/query/blocks
- https://gatographql.com/guides/interact/working-with-gutenberg-blocks
- https://gatographql.com/tutorial/retrieving-structured-data-from-blocks

Bricks: I don't know. However, if there's demand for it, I could build an integration.

(I'm actually working on an integration for Elementor right now, and even though I haven't done a deep research yet, I assume one for Bricks would be similar)

Share
Helpful?

Q: Can Gato Graphql query ant content from the wordpress?

If I were to have content in Metabox custom fields or Gutenberg blocks can I query the data within Bricks Builder?

stephen339Mar 30, 2025
See detail
Founder Team
Leonardo_GatoGraphQL

Leonardo_GatoGraphQL

Mar 31, 2025

A: Meta fields and gutenberg blocks, yes you can do that already. For custom fields (MetaBox or any other plugin), if that data is not saved as a meta field, then you need to create a field to fetch that data. So yes, it is doable, but you'd need to do it. (That is, if there's no extension for that plugin on gatographql.com)

Share
Helpful?