zod icon indicating copy to clipboard operation
zod copied to clipboard

What should deepPartial be replaced with?

Open EricImpact opened this issue 1 year ago • 54 comments

It looks like deepPartial was deprecated in 3.21.0. What should be used instead?

Also just to note that the documentation at https://zod.dev/?id=deeppartial doesn't make any mention of deepPartial being deprecated.

EricImpact avatar Oct 10 '23 21:10 EricImpact

Bumping this. There doesn't seem to be any docs about why it was deprecated or what one should use instead.

foges avatar Oct 17 '23 19:10 foges

Bumping this.

josesilveiraa07 avatar Nov 03 '23 01:11 josesilveiraa07

Bump

kodermax avatar Nov 14 '23 11:11 kodermax

im gonna lock versions and just use .deepPartial() I gueess

iway1 avatar Nov 21 '23 20:11 iway1

I noticed in #2106 the maintainer says:

The .deepPartial API has this same problem. I'm deprecating it for the same reason.

However, that issue is about 9 months old and there doesn't appear to be any clarity/ETA on the outcome.

psychedelicious avatar Nov 22 '23 10:11 psychedelicious

Bump

szulcus avatar Dec 07 '23 13:12 szulcus

bump

fmoessle avatar Dec 12 '23 13:12 fmoessle

Bump

scharf avatar Dec 22 '23 14:12 scharf

Bump 🤷‍♂️

wk-ouisense avatar Jan 02 '24 14:01 wk-ouisense

bump watching this -- locking versions until an alternative is available

caleygoff-invitae avatar Jan 09 '24 19:01 caleygoff-invitae

any update regarding the deepPartial, what should to use if this is deprecated?

broisnischal avatar Jan 19 '24 05:01 broisnischal

Also wondering what should be done here...

dannydi12 avatar Jan 30 '24 22:01 dannydi12

How come this is still unresolved, and even completely unanswered?

TKasperczyk avatar Feb 22 '24 00:02 TKasperczyk

Bump

cqone avatar Feb 22 '24 11:02 cqone

asdf

broisnischal avatar Feb 26 '24 08:02 broisnischal

What are folks using when deepPartial is deprecated?

lukepighetti avatar Mar 02 '24 01:03 lukepighetti

Bump

EternalEnR avatar Mar 05 '24 16:03 EternalEnR

Bump

GR1NYAoff avatar Mar 08 '24 09:03 GR1NYAoff

why is zod.switch docs not available in their docs?

broisnischal avatar Mar 08 '24 09:03 broisnischal

bump!

jion avatar Mar 08 '24 21:03 jion

bump

radzserg avatar Mar 19 '24 19:03 radzserg

bump

aryan877 avatar Mar 26 '24 13:03 aryan877

bump

dmytro-rodionov-tes avatar Apr 03 '24 17:04 dmytro-rodionov-tes

bump

wangcongyi avatar Apr 12 '24 02:04 wangcongyi

bump

MaximBuz avatar Apr 16 '24 08:04 MaximBuz

bump

miraroot avatar Apr 16 '24 14:04 miraroot

bump

elkofy avatar Apr 23 '24 17:04 elkofy

Was about to add yet another not-very-useful "bump" but instead... Can please a maintainer step-in, if only to explain why this is deprecated ? Thanks :)

PierreBeucher avatar Apr 25 '24 14:04 PierreBeucher

7 months and 27 bumps later, we're still waiting for someone to correct it 😕

szulcus avatar Apr 25 '24 17:04 szulcus

@colinhacks There is a lot of interest here in deepPartial and whatever its replacement should be. Would be great to get some clarification from you.

EricImpact avatar Apr 25 '24 19:04 EricImpact