Effect CommunityEC
Effect Community3y ago
16 replies
JamieMason

Issue after updating @effect/schema from 0.33.1

Hi all,
Hoping someone can spot what I'm doing wrong please. I've made the following package updates:

@effect/data: "0.17.5" → "0.18.7"
@effect/io: "0.38.2" → "0.41.2"
@effect/match: "0.33.0" → "0.36.1"
@effect/schema: "0.33.1" → "0.39.1"


This reduced example is using the old versions:
https://codesandbox.io/s/effect-schema-0-33-1-ksh5xz

and this one is using the new versions:
https://codesandbox.io/s/effect-schema-0-39-1-nrd362

The function argument struct on line 72 is
unknown
in the new version, where previously it would match the shape I describe in my Schema.struct.

Thanks a lot.
Was this page helpful?