Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

graphiql config headers do not work in new release 12.0.0 #726

Closed
@aihua5

Description

@aihua5

I upgraded the starter from 11.1.0 to 12.0.0.

Before I upgrade, I config the graphiql in application.yml

graphiql: mapping: / headers: test: test

When I post one graphql query, I can see we have one added header test:test

But after I upgrade to 12.0.0, I config the graphiql as below per new format

graphql: graphiql: enabled: true mapping: / headers: test: test

I expect I can see the added header but not.

Is there one bug for the graphiql config in appliation.yml?
Can anyone help to take a look? thanks.

Activity

added 2 commits that reference this issue on Oct 5, 2021

fix(graphql-java-kickstart#726): fix GraphiQL configuration

766fddb

fix(graphql-java-kickstart#726): fix GraphiQL configuration

a310ec7
BlasiusSecundus

BlasiusSecundus commented on Oct 5, 2021

@BlasiusSecundus

A fix is in progress. Meanwhile, you can setup headers in the old fashioned way (before the starter reorganization):

graphiql:
  headers:
    myHeader: myHeaderValue
  props:
    variables:
      headerEditorEnabled: true
added 2 commits that reference this issue on Oct 9, 2021

fix(graphql-java-kickstart#726): fix GraphiQL configuration

bf7b337

fix(graphql-java-kickstart#726): fix GraphiQL configuration

629a55a
linked a pull request that will close this issuefix(#726): fix GraphiQL configuration #738on Oct 18, 2021
added this to the 12.0.1 milestone on Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      Participants

      @oliemansm@BlasiusSecundus@aihua5

      Issue actions

        graphiql config headers do not work in new release 12.0.0 · Issue #726 · graphql-java-kickstart/graphql-spring-boot