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

Revert breaking type change in #10342 #10609

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

anton-g
Copy link
Contributor

@anton-g anton-g commented Jun 28, 2023

This PR reverts the type changes introduced in #10342.

The type changes are positive, but releasing it in a minor release have led to large issues for many consumers. I suggest reverting the changes for now and introducing them in the next major release.

See the discussion in #10342 for more details.

@codesandbox
Copy link

codesandbox bot commented Jun 28, 2023

This branch is running in CodeSandbox. Use the links below to review this PR faster.


CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders | Preview

@molinto
Copy link

molinto commented Jun 28, 2023

The change really messed up our app too. Should have been a major version change.
Thanks for making this.

@bluebill1049 bluebill1049 merged commit 97a4ed9 into react-hook-form:master Jun 28, 2023
7 checks passed
@bluebill1049
Copy link
Member

We will introduce this in the following major release then.

@doberkofler
Copy link

When (re)releasing this PR, I would strongly suggest to shortly document how to take advantage of the improved type checking by showing the needed changes for some typical use cases.

@vmaerten
Copy link

vmaerten commented Jul 4, 2023

Hi,
Thanks for reverting this. Do you have any plans to release this soon? Maybe in a 7.45.2 ?

@curtvict
Copy link

curtvict commented Jul 7, 2023

A release next week would be 👨‍🍳 💋

@bluebill1049
Copy link
Member

A release next week would be 👨‍🍳 💋

will do.

@nnennajohn
Copy link

Thanks for this.

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.

None yet

7 participants