Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

From Discord: Error in code after updating schema version #433

Closed
effect-bot opened this issue Sep 21, 2023 · 0 comments · Fixed by #435
Closed

From Discord: Error in code after updating schema version #433

effect-bot opened this issue Sep 21, 2023 · 0 comments · Fixed by #435

Comments

@effect-bot
Copy link

effect-bot commented Sep 21, 2023

Repro

import * as S from '@effect/schema/Schema'

const schema = S.struct({ a: S.string }).pipe(
  S.extend(S.record(S.templateLiteral(S.string, S.literal('-'), S.number), S.string))
)

S.parseSync(schema)({ a: 'a' })

Discord thread

https://discord.com/channels/795981131316985866/1154312561303498834

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant