Questions tagged [graphiql]

GraphiQL is a graphical user interface for editing and testing GraphQL queries and mutations.

GraphiQL is a open source GraphQL integrated development environment (IDE). It’s a powerful (and all-around awesome) tool you’ll use often while building GraphQL API's.

GraphiQL Documentation

216 questions
1
vote
1 answer

GraphiQL mutation does not accept input type

Hi I am making a booking system following the tutorial series https://www.youtube.com/watch?v=MRrcUQhZwBc&list=PL55RiY5tL51rG1x02Yyj93iypUuHYXcB_&index=8 And I am following them(while changing names of fields to suit my database more) Here is my…
1
vote
0 answers

wp-graphql: How do I get data from custom post types?

I'm experimenting with Gatsby. On the WordPress side I've installed the plugin wp-graphql. (I've also installed wp-graphql-acf, because I've got some ACF fields that I want to expose ) I have two CPT's. For both of the CPT's I've passed the…
bob
  • 753
  • 4
  • 15
  • 27
1
vote
1 answer

Syntax/pre-compilation issue with graphql and express

Hi I am following this video to make a booking system enter link description here And my code is identical to the creator but it isn't running (error message shown below) [nodemon] restarting due to changes... [nodemon] starting `node…
1
vote
0 answers

Modifiy response from GraphQL & Orchard

I am using Graphql queries to access our Orchard CMS api to receive content for my web page In my case I have three different part I need to access from a page lets call them table1, table2 and table3 If I wanted to fetch the content form these…
Aelgh
  • 21
  • 1
  • 2
  • 3
1
vote
0 answers

Accessing Wordpress Divi theme shortcodes in GraphQL layer as part of headless Wordpress build

I am working on an existing Wordpress site that uses a Divi child theme with the editor creating layouts with the Visual Editor. The client wants to develop a Gatsby site with data from a GraphQL layer provided by the wp-graphql plugin. When I…
user2978728
  • 13
  • 1
  • 5
1
vote
1 answer

How to enable header_editor_enable in graphiql-rails gem?

How can i set header_editor_enable as true in graphiql-rails gem? There is no graphiql config file in my project. So, I've created it in config/initializers/graphiql.rb but I don't know how to set it true. How can I do it?
1
vote
0 answers

GraphiQL is not sending cookies?

I've got a Spring Boot App that gains GraphQL by way of org.springframework.experimental/graphql-spring-boot-starter. That starter, somehow, gives me the GraphiQL UI to run ad-hoc queries through. As I tried to integrate Spring Security into my…
Bob Kuhar
  • 10,838
  • 11
  • 62
  • 115
1
vote
2 answers

JSON in Gatsby with GraphQL

I have one JSON file named Test.json with all data in it. [ { "name" : "Margo", "birthDate": "1990.03.15", "timetable": [ {"time": "8.00", "task": "toDoMargoElem1"}, {"time": "9.00", "task":…
1
vote
1 answer

wp-graphql - can't query acf globalOptions

I create a new field in Custom Fields and give it a location, like this: After that I activate the Show In GraphQL button and set acf name: Now, I'm trying to make a query for acf globalOptions in wp-graphql and it gives me an error. Moreover, I…
1
vote
0 answers

How do you configure simple-subscriptions to run using Postgraphile CLI?

I would like to add subscriptions into a react project I have which currently references graphql using the port 5000 endpoint created by running postgraphile. I start this using the command line startup of globally installed (via npm -g…
1
vote
2 answers

Graphql Interfaces when using MongoDB

I am figuring my way around creating a GraphQL API using MongoDB and I am trying to get my head around interfaces. I get the idea behind it and watched a bunch of videos on talks and howto's, but the one thing I am seeing is how to make the query…
jwknz
  • 6,598
  • 16
  • 72
  • 115
1
vote
1 answer

Is there any way to create API documentation for graphql end points in a spring boot project

I have a springboot microservice project and I am using graphql. For REST api end points I am aware that we can document using swagger etc.. Graphiql also provides dynamic documentation but is there any other way to create API documentation for the…
Rini
  • 21
  • 5
1
vote
1 answer

I cant get a plain Text with headless Wordpress and Graphql

I am building a frontend with React. I use Headless wordpress iwth GraphiQL and WooCommerce. Now i created some products with a shortDescription. But when i fetch these products i get the description as a HTML-formatted string. Picture With the…
1
vote
2 answers

featuredImage does not appear in GraqhiQL , Gatsby

i am trying to develop a blog site for myself.and i decided to make it with gatsby and contentful. and i followed this tutorial query code query MyQuery { allContentfulBlogPost { edges { node { author { name } …
eminvergil
  • 45
  • 1
  • 6
1
vote
1 answer

Graphiql does not display incoming data for subscriptions

I implemented a graphql server using graphql-java that offers subscriptions over websockets. When I subscribe using the websocket CL-tool wscat everything works as intended. Here is how the data looks that the server publishes (<): $wscat -c…