© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Issue with `DateTimeFromDateWithNow` Type in `Model.makeRepository` Update Function - Effect Community
EC
Effect Community
•
13mo ago
•
3 replies
imagio
Issue with `DateTimeFromDateWithNow` Type in `Model.makeRepository` Update Function
@Tim Smart
Maybe a bug in effect
-sql Model
.makeRepository
, or possibly in VariantSchema
. The type from
Model.DateTimeFromDateWithNow
Model.DateTimeFromDateWithNow
can
't be used in the repository update function because it has an Override brand
Utc & Brand<"Override">
Utc & Brand<"Override">
. See this playground
:
https://effect.website/play/#bf5f448ecc3f
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Model.makeRepository Methods Discard Errors
EC
Effect Community / sql
10mo ago
Using Model.Class and Model.makeRepository with Effect's Drizzle Integration
EC
Effect Community / sql
10mo ago
Issue with `Model.Class` Losing Type Information After TSC Build
EC
Effect Community / sql
7mo ago
Suggestion to Allow Access to Options Passed to `Model.makeRepository`
EC
Effect Community / sql
8mo ago