Skip to content
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

Fix TypeError: domain.enter is not a function #183

Merged
merged 1 commit into from
Jul 12, 2024

Commits on Jul 8, 2024

  1. Fix TypeError: domain.enter is not a function

    An `EventEmitter` subclass must not use the `domain` property. Having a
    `domain` present triggers Node's deprecated `domain` error handling
    behavior, which, as it's not actually loaded, causes a `TypeError`.
    
    Instead, delegate to a separate `EventEmitter` object, so our
    `_OrmScope` can safely keep its `domain` property.
    
    nodejs/node-v0.x-archive#3922
    Peeja committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    2e4dcc6 View commit details
    Browse the repository at this point in the history