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

feat: generic format function #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat: generic format function #135

wants to merge 1 commit into from

Conversation

Uzlopak
Copy link
Contributor

@Uzlopak Uzlopak commented Sep 11, 2024

putting this again for discussion

@jsumners
Copy link
Member

What is being put up "again for discussion"?

Copy link
Member

@Eomm Eomm left a comment

Choose a reason for hiding this comment

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

This is a perf PR, did you share some result in other issues that I missed?

@Uzlopak
Copy link
Contributor Author

Uzlopak commented Sep 22, 2024

Since the last parameter can be cause fastify error is limitted to the fixed amount of placeholders. As long as we dont use %o and %O placeholders we can generate format functions which are isomorph. On the other hand, we could actually implement a solution to avoid the issue #134.

@jsumners
Copy link
Member

I really don't understand why we would want to get into the business of maintaining a format string interpolator.

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.

3 participants