Comments (4)
I have just started looking for an effect/schema resolver, and It's funny to see the issue created 5 days ago. What a nice issue number too. Would you need a hand in writing the resolver @licarth ?
from resolvers.
To anyone interested, there's an ongoing discussion about making an Effect schema resolver here (Effect Discord server): https://discord.com/channels/795981131316985866/1227988682917675110 with an example implementation.
from resolvers.
FrostyGhostMan here from the discussion referenced by @jbmusso. just about done doing a relative like-for-like of all the tests in the zod resolver against the effect one i pasted into the discussion. The ArrayFormatter is a real life saver for parsing the errors into something react-hook-form can use. ill publish this early next week, hopefully monday. So far its handled everything ive thrown at it. Havn't tested the native validation yet, i suspect the logic for that might need looking at. ill give a shoutout here when its published.
from resolvers.
pull request is awaiting review - #676
from resolvers.
Related Issues (20)
- Zod continues to throw errors while using async refinements with react hook form when zod resolver mode is set to async HOT 2
- Issue with valibotResolver causing unexpected form submission behavior HOT 3
- typescript problem in AJV resolver HOT 1
- Fields configured as mandatory are not being validated and are ignored.
- errors object creating circular structure with yup resolver
- Zod superRefine does not correctly revalidate the form on change HOT 2
- Issue with Resolvers tranform
- Extend typeboxResolver with additional types; getting "Unknown type" in Visit3
- AJV resolver is async mode is not working
- when type of input is radio,valueAsNumber dont work anymore HOT 1
- `Joi` resolver crashes on `File` validation
- When using `classValidatorResolver`, combining `@IsOptional()` with `@Length()` makes the field required
- [Zod]: Resolver does not validate to reflect correct error state without manual form.trigger() HOT 8
- zodResolver / superRefine / useFieldArray: useForm errors are not updated to reflect zodResolver errors HOT 1
- Zodresolver `getFieldState(..).error` type is incorrect HOT 1
- Typeerror when used with zod 3.23 HOT 2
- Why Hookform resolver makes required fields optional?
- 3.6.0 breaks with the current release of valibot HOT 1
- Form submission proceeds with empty formValue when validation fails using check (formerly custom) in Valibot HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resolvers.