Philipp Schiffmann
Philipp Schiffmann
I'm leaning towards a functional programming style in general. Example: ```ts interface ShoppingCartItem { product: Product; quantity: number; } // NOT how I usually implement things; modifies `shoppingCart` in-place. function...
I noticed that you're a SolidJS community member, so I guess I didn't have to explain the React immutability concept and Redux reducer functions to you. Oops! Anyways, I re-read...
> What would be you dream API and the expected behaviour? That's a good question. I have to think more about it. I'll use the userland `readonly()` function for now...
I just started generating [ElasticSearch mappings](https://www.elastic.co/guide/en/elasticsearch/reference/current/explicit-mapping.html) (basically database schema declarations) from my Valibot schemas, and I ran into this issue as well. I already have schemas defined like this: ```ts...
Thanks for the suggestion! You are completely right, my function needs to have a union type parameter, simply adding `BaseSchema.type` would have never achieved the desired result. For others on...