Bug: Group SPP GraphQL server error when no projectsToExclude are provided
Description:
A server error occurs when the setGroupSecretPushProtection mutation is used without providing the optional argument projectsToExclude.
When running on local GDK the error is:
Internal server error: missing keyword: :projects_to_exclude
How to replicate:
Use this GraphQL query:
mutation {
setGroupSecretPushProtection(
input: {namespacePath: "<Group_path>", secretPushProtectionEnabled: true}
) {
errors
}
}
Replace <Group_path> with a full path to a group you have maintainer permissions to.
Edited by Gal Katz