fix(schemas): Make firefoxLabsTitle not required for desktop branch schema (#11705)
Because - We found a bug where the `firefoxLabsTitle` field was set as required on the `ExperimentMultiFeatureDesktopBranch` class. This commit - Updates the `firefoxLabsTitle` field on the above class to use `default=None`. - Updates schema version to `2024.11.2`. - Updates TS schema Fixes #11701
This commit is contained in:
Родитель
e8c2134330
Коммит
6552a3f1f3
|
@ -1 +1 @@
|
|||
2024.11.1
|
||||
2024.11.2
|
||||
|
|
|
@ -362,7 +362,7 @@ export interface ExperimentMultiFeatureDesktopBranch {
|
|||
/**
|
||||
* An optional string containing the title of the branch
|
||||
*/
|
||||
firefoxLabsTitle: string;
|
||||
firefoxLabsTitle?: string;
|
||||
}
|
||||
export interface DesktopTombstoneFeatureConfig {
|
||||
featureId: "unused-feature-id-for-legacy-support";
|
||||
|
|
|
@ -98,7 +98,7 @@ class ExperimentMultiFeatureDesktopBranch(BaseExperimentMultiFeatureBranch):
|
|||
)
|
||||
)
|
||||
firefoxLabsTitle: str | SkipJsonSchema[None] = Field(
|
||||
description="An optional string containing the title of the branch"
|
||||
description="An optional string containing the title of the branch", default=None
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@mozilla/nimbus-schemas",
|
||||
"version": "2024.11.1",
|
||||
"version": "2024.11.2",
|
||||
"description": "Schemas used by Mozilla Nimbus and related projects.",
|
||||
"main": "index.d.ts",
|
||||
"repository": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "mozilla-nimbus-schemas"
|
||||
version = "2024.11.1"
|
||||
version = "2024.11.2"
|
||||
description = "Schemas used by Mozilla Nimbus and related projects."
|
||||
authors = ["mikewilli"]
|
||||
license = "MPL 2.0"
|
||||
|
|
|
@ -378,8 +378,7 @@
|
|||
"slug",
|
||||
"ratio",
|
||||
"features",
|
||||
"feature",
|
||||
"firefoxLabsTitle"
|
||||
"feature"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче