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

Use is-utf to validate string payload #12

Merged
merged 1 commit into from
Feb 10, 2025
Merged

Conversation

knolleary
Copy link
Member

Updates the schema detection to use is-utf module to detect string vs binary payloads as efficiently as we can.

Lets JSON.parse() run on more cases as it will handle numbers/booleans as well.

Adds the process pid to the log output as it makes life easier when having to manually kill/restart the process during local development.

@hardillb hardillb merged commit ded5ea7 into main Feb 10, 2025
2 checks passed
@hardillb hardillb deleted the update-schema-detection branch February 10, 2025 17:21
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