Skip to content

fix: handle null value for experiments #17584

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2025
Merged

Conversation

BrunoQuaresma
Copy link
Collaborator

Fix #17583

Relevant info

  • option.value can be null
  • It is always better to use unknown instead of any, and use type assertion functions as Array.isArray() before using/accessing object properties and functions

@BrunoQuaresma BrunoQuaresma self-assigned this Apr 28, 2025
@BrunoQuaresma BrunoQuaresma requested review from Emyrk, a team and code-asher and removed request for a team April 28, 2025 14:04
Copy link
Member

@Parkreiner Parkreiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look straightforward to me! I think some of the anys were when we were rushing through the original GUTS migration

@BrunoQuaresma BrunoQuaresma merged commit 5ca90ae into main Apr 28, 2025
36 checks passed
@BrunoQuaresma BrunoQuaresma deleted the bq/fix-null-experiments branch April 28, 2025 14:12
@github-actions github-actions bot locked and limited conversation to collaborators Apr 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: /deployment/overview page is broken when no experiments are set
2 participants