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: Run parent bindings formatter when creating child logger #1367

Merged

Conversation

guilhermelimak
Copy link
Contributor

@guilhermelimak guilhermelimak commented Mar 15, 2022

Should fix #1212.

I'm not entirely sure about my approach here, specially the JSON.parse part, I ran the benchmarks and didn't notice any regressions, but also got some random variation so I'm not 100% sure, but I didn't found another way to pass the right bindings argument to the parent formatter.

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

@mcollina mcollina merged commit 0d6eda8 into pinojs:master Mar 15, 2022
@mcollina
Copy link
Member

Unfortunately this caused a regression (see #1378), I'll revert.

mcollina added a commit that referenced this pull request Mar 22, 2022
mcollina added a commit that referenced this pull request Mar 22, 2022
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 23, 2023
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.

formatters.bindings are not called when creating a child
2 participants