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

refactor: normalize common options for all parsers #551

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Phillip9587
Copy link
Contributor

Based on #550

This PR introduces the normalizeOptions function, which standardizes and validates common parser options like inflate, limit, type, and verify. It ensures consistent defaults and removes duplication across the parsers.

@wesleytodd
Copy link
Member

How much of this would also overlap with @ctcpip's attempt to revive #544? Would we be better off talking that approach to simplification?

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