Skip to content

Add null checks to widget constructor options #2552

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
Feb 14, 2025
Merged

Conversation

christian-byrne
Copy link
Contributor

@christian-byrne christian-byrne commented Feb 14, 2025

Extension of #2551 nullcheck to other widget constructors. The input options objects can be undefined, as the constructors are called by custom nodes. These additional instances were found by changing the type and using strict mode.

┆Issue is synchronized with this Notion page by Unito

@christian-byrne christian-byrne requested a review from a team as a code owner February 14, 2025 14:18
@huchenlei huchenlei merged commit 2e86393 into main Feb 14, 2025
10 checks passed
@huchenlei huchenlei deleted the null-check-widget branch February 14, 2025 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants