Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
improvement: allow null for non-supported gatewayId
Scott Wilsonf3a8e305482b
diff --git a/backend/src/services/app-connection/app-connection-schemas.ts b/backend/src/services/app-connection/app-connection-schemas.tsindex 92fc83123f..d0dcb1a546 100644--- a/backend/src/services/app-connection/app-connection-schemas.ts+++ b/backend/src/services/app-connection/app-connection-schemas.ts@@ -40,6 +40,7 @@ export const GenericCreateAppConnectionFieldsSchema = (? z.string().uuid().nullish().describe("The Gateway ID to use for this connection."): z.undefined({ message: `Not supported for ${APP_CONNECTION_NAME_MAP[app]} Connections` })+ .or(z.null({ message: `Not supported for ${APP_CONNECTION_NAME_MAP[app]} Connections` })).describe(`Not supported for ${APP_CONNECTION_NAME_MAP[app]} Connections.`)});@@ -67,5 +68,6 @@ export const GenericUpdateAppConnectionFieldsSchema = (? z.string().uuid().nullish().describe("The Gateway ID to use for this connection."): z.undefined({ message: `Not supported for ${APP_CONNECTION_NAME_MAP[app]} Connections` })+ .or(z.null({ message: `Not supported for ${APP_CONNECTION_NAME_MAP[app]} Connections` })).describe(`Not supported for ${APP_CONNECTION_NAME_MAP[app]} Connections.`)});