drizzle-team / drizzle-team/drizzle-orm

[BUG]:Deprecated TaggedErrorClass syntax incompatible with Effect v4 release candidates

Open Beginner friendly
#6,162 3 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Report hasn't been filed before.

- [x] I have verified that the bug I'm about to report hasn't been filed before.

### What version of `drizzle-orm` are you using?

1.0.0-rc.4

### What version of `drizzle-kit` are you using?

1.0.0-rc.4

### Other packages

_No response_

### Describe the Bug

effect-core/errors.js calls `Schema.TaggedErrorClass` but it was renamed to `Schema.TaggedError` in a recent release.

Effect Changelog: https://github.com/Effect-TS/effect/blob/main/packages/effect/CHANGELOG.md#400-beta104
PR for the name change: https://github.com/Effect-TS/effect/pull/6732

Contributor guide

Open the contributing guide

Research direction

Start at effect-core/errors.js and inspect the call to Schema.TaggedErrorClass, then compare it with the Effect changelog and linked name-change PR. Done means the error module uses the API name supported by the Effect v4 release candidates and no longer fails because of the deprecated syntax.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
84/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.