summer-boythink

Results 7 comments of summer-boythink

I tried it out in my own [stackblitz](https://stackblitz.com/edit/typescript-ceb1hb?file=index.ts) I looked it up and found that the function of `optional()` is to make the type `value: boolean | undefined` instead of...

@tigerBeA Do you have any good solutions

@danh-luong I agree with you that `it will make users confused about when should use optional() or partial()` Likewise,`in function,I wonder do we have any solutions to detect and then...

> So for now there is no way to pass a primitive argument as optional? I don't currently find it in `function().args()`

@rotu I agree with you that `zod` needs to change in this part. Are there `zod` maintainers to participate in the discussion?

所以,这里期望的是修改`mfsu`部分的源码吗,还是希望通过`exclude`的方式,妥协处理,我很好奇这个issue的跟进处理后续

> 现在有关 mfsu 的问题,第一预期是先通过 `mfsu.exclude` 来排除解决: > > ```ts > mfsu: { > exclude: ['dep-name', /reg/, ...] > } > ``` > > 如果还不行,第二预期是尝试切换 mfsu 策略,以及 `include` 选项: > >...