Fabian Hiller
Fabian Hiller
I plan to release a bigger update to our `toJsonSchema` function soon. I may come back to this issue in a few weeks.
I never used Husky and lint-staged before. Does this run linting and formatting on every commit? If so, I am not sure if I want that. Mostly because it probably...
Thank you for creating this issue! I would love to ship a `domain` action. However, I am unsure if it should have so many options, as this would increase the...
Do you want to create a PR?
Can you share a [playground link](https://valibot.dev/playground/) with an example? Maybe [`custom`](https://valibot.dev/api/custom/) is what you are looking for.
implement `v.partialBy(schema, v.exactOptional)` and `v.requiredBy(schema, v.nonNullish)` using HKTs
Hey 👋 thanks for working on this! I would like to discuss the API before reviewing your code. What do you think about: ```ts const Schema1 = v.make(v.optional, MyObjectSchema); const...
implement `v.partialBy(schema, v.exactOptional)` and `v.requiredBy(schema, v.nonNullish)` using HKTs
I like the function approach, and I think I know how to implement it correctly, if we limit the default value to `null` and `undefined` depending on the schema. However,...
implement `v.partialBy(schema, v.exactOptional)` and `v.requiredBy(schema, v.nonNullish)` using HKTs
A drawback with the object approach for the default values might be that it does not work for `nonOptional`, `nonNullable` and `nonNullish`. A workaround would be a second function for...
implement `v.partialBy(schema, v.exactOptional)` and `v.requiredBy(schema, v.nonNullish)` using HKTs
I am not sure yet about the name but here a few names we could combine with `...Entries` or `...ObjectEntries`: - `wrap` - `modify` - `refine` - `alter` - `map`
implement `v.partialBy(schema, v.exactOptional)` and `v.requiredBy(schema, v.nonNullish)` using HKTs
Do you have a favorite API and name right now?