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

fix(#726): fix GraphiQL configuration #738

Conversation

BlasiusSecundus
Copy link

There was some inconsistency in configuration handling. The
GraphiQLProperties were not used for headers and GraphiQL props.
Instead, the properties were manually loaded.

This part, however, was not updated with the starter reorganization,
and expected the variables in the old place
(graphiql.props.variables.).

This commit fixes this by using the props / headers from the
configuration properties.

There was some inconsistency in configuration handling. The
`GraphiQLProperties` were not used for headers and GraphiQL props.
Instead, the properties were manually loaded.

This part, however, was not updated with the starter reorganization,
and expected the variables in the old place
(`graphiql.props.variables.`).

This commit fixes this by using the props / headers from the
configuration properties.
@BlasiusSecundus BlasiusSecundus linked an issue Oct 18, 2021 that may be closed by this pull request
Copy link
Member

@oliemansm oliemansm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@oliemansm oliemansm merged commit 1b20eec into graphql-java-kickstart:master Jan 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

graphiql config headers do not work in new release 12.0.0
2 participants