1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-10 17:53:36 +02:00

Fix: make nullable fields nullable

This commit is contained in:
Thomas Heartman 2022-06-28 08:37:38 +02:00
parent 9577d7f3b8
commit 8840b4a204

View File

@ -23,12 +23,15 @@ export const eventSchema = {
}, },
environment: { environment: {
type: 'string', type: 'string',
nullable: true,
}, },
project: { project: {
type: 'string', type: 'string',
nullable: true,
}, },
featureName: { featureName: {
type: 'string', type: 'string',
nullable: true,
}, },
data: {}, data: {},
preData: {}, preData: {},
@ -37,6 +40,7 @@ export const eventSchema = {
items: { items: {
$ref: tagSchema.$id, $ref: tagSchema.$id,
}, },
nullable: true,
}, },
}, },
components: { components: {