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

fix(useformstate): hotfix: we needed AnySchema<T> instead of SchemaOf<T> for the yup breaking change #59

Merged
merged 1 commit into from
Apr 22, 2021

Conversation

mturley
Copy link
Collaborator

@mturley mturley commented Apr 22, 2021

I screwed up in #57.

useFormState and useFormField now require yup.AnySchema<T> schema types instead of the yup.SchemaOf<T> which was not behaving correctly with boolean fields.

…<T> for the yup breaking change

BREAKING CHANGE: useFormState and useFormField now require `yup.AnySchema<T>` schema types instead
of the `yup.SchemaOf<T>` which was not behaving correctly with boolean fields.
@mturley mturley requested a review from a team April 22, 2021 22:41
@konveyor-preview-bot
Copy link

🚀 Deployed Storybook Preview: http://konveyor-lib-ui-pr-59-preview.surge.sh

@codecov
Copy link

codecov bot commented Apr 22, 2021

Codecov Report

Merging #59 (50d2a1a) into main (626a934) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main       #59   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           19        19           
  Branches         5         5           
=========================================
  Hits            19        19           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 626a934...50d2a1a. Read the comment docs.

@mturley mturley merged commit a1e3601 into migtools:main Apr 22, 2021
@mturley mturley deleted the anyschema-fix branch April 22, 2021 22:49
@konveyor-release-bot
Copy link

🎉 This PR is included in version 4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants