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

Unexpected behaviour when combining assign + refine #1188

Open
john-rodewald opened this issue Jun 20, 2023 · 0 comments
Open

Unexpected behaviour when combining assign + refine #1188

john-rodewald opened this issue Jun 20, 2023 · 0 comments

Comments

@john-rodewald
Copy link

I have an object-shaped struct that was created with refine and a custom validation handler. I want to extend this struct with additional fields. If I use assign, my validation handler seems to be skipped. Is this intended behaviour? If so, what is the proper way to do this?

I've created a minimal example to illustrate the issue I'm facing.

https://codesandbox.io/s/loving-sunset-zdvs6r?file=/index.js

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

No branches or pull requests

1 participant