Skip to content

Consider flags disabled when generating GraphQL schema

What does this MR do?

Turn all feature flags off when generating GraphQL schema. Prevent pipeline failures in case developer generate schema with flags on before pushing.

Problem to solve

I generated GraphQL docs with a feature flag turned on in my localhost, which made tests break for the merge request.

It happens because feature flags are off when pipelines are running so gitlab:graphql:check_schema will fail with different schemas.

It is common to have flags enabled on local development environment and this could happen to other developers.

Follow up of !23563 (merged)

Edited by Felipe Cardozo

Merge request reports