mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-17 01:17:29 +02:00
feat: local dev should honor our schemas (#9799)
Spotted this in local dev mode: ``` [2025-04-17T15:10:21.036] [DEBUG] openapi-service.ts - Invalid response: { "schema": "#/components/schemas/environmentsProjectSchema", "errors": [ { "instancePath": "/environments/0", "schemaPath": "#/additionalProperties", "keyword": "additionalProperties", "params": { "additionalProperty": "requiredApprovals" }, "message": "must NOT have additional properties" } ] } ``` Enabling strictSchemaValidation in dev mode should help prevent these issues from going out to prod as developers would identify them while testing locally
This commit is contained in:
parent
dbe2f9b6bd
commit
0a752fbf47
@ -62,6 +62,7 @@ process.nextTick(async () => {
|
||||
addEditStrategy: true,
|
||||
flagsOverviewSearch: true,
|
||||
cleanupReminder: true,
|
||||
strictSchemaValidation: true,
|
||||
},
|
||||
},
|
||||
authentication: {
|
||||
|
Loading…
Reference in New Issue
Block a user