Skip to content

fix: onRecord accepts a different return type #466

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

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

Conversation

hjf
Copy link

@hjf hjf commented Aug 4, 2025

this is an attempt to address #461

it adds a second generic to the parse call, with a default type of the same as the first. If you are using onRecord to transform, then you define the return type there.

@wdavidw
Copy link
Member

wdavidw commented Aug 5, 2025

I have been working on a similar implementation in the last 2 days. Not yet finished.

wdavidw added a commit that referenced this pull request Aug 14, 2025
wdavidw added a commit that referenced this pull request Aug 15, 2025
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