Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix configuration schema sequence for enabled extensions #1163

Open
wants to merge 2 commits into
base: 8.x-4.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions config/schema/graphql.schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ graphql.graphql_servers.*:
type: boolean
label: 'Batching'
schema_configuration:
type: 'graphql.schema.[%parent.schema]'
type: sequence
label: 'Schema configuration'
orderby: key
sequence:
type: 'graphql.schema.[%parent.schema]'
label: 'The configuration for a single schema extension.'
persisted_queries_settings:
type: sequence
label: 'Persisted queries settings'
Expand All @@ -34,7 +39,7 @@ graphql.graphql_servers.*:
label: 'The configuration for a single persisted query plugin.'

graphql.schema.*:
type: mapping
type: graphql.schema.composable
label: 'Schema settings'

graphql.schema.composable:
Expand All @@ -45,7 +50,7 @@ graphql.schema.composable:
label: Enabled extensions
type: sequence
sequence:
type: boolean
type: string

graphql.default_persisted_query_configuration:
type: mapping
Expand Down