Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: do validation first before actual business logic, like super() #3463

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

Uzlopak
Copy link
Contributor

@Uzlopak Uzlopak commented Aug 15, 2024

Highly opinionated change. Or is there some hidden logic, which says, that super() calls are optimized in v8?

@Uzlopak Uzlopak changed the title fix: do validation first before actual code, like super() fix: do validation first before actual business logic, like super() Aug 15, 2024
Copy link
Member

@ronag ronag left a comment

Choose a reason for hiding this comment

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

🤷‍♂️

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@Uzlopak Uzlopak merged commit 15b8b78 into nodejs:main Aug 15, 2024
32 checks passed
@Uzlopak Uzlopak deleted the call-super-after-validation branch August 15, 2024 15:31
@github-actions github-actions bot mentioned this pull request Dec 3, 2024
This was referenced Dec 16, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants