Skip to content

fix: add legacy options safety #2420

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
Sep 17, 2023
Merged

fix: add legacy options safety #2420

merged 1 commit into from
Sep 17, 2023

Conversation

Akmadan23
Copy link
Collaborator

While testing #2414 I noticed that setting view to anything but a table would crash due to this problem in legacy module, so I fixed it.

Copy link
Member

@alex-courtis alex-courtis left a comment

Choose a reason for hiding this comment

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

Great catch! Works nicely.

@alex-courtis alex-courtis changed the title fix(legacy): check if opts.view is a table before accessing its fields fix: add legacy options safety Sep 17, 2023
@alex-courtis alex-courtis merged commit f742b86 into master Sep 17, 2023
@alex-courtis alex-courtis deleted the fix-legacy branch September 17, 2023 01:08
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