You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The published declarations need effect 4.1, but the peer range admits ^4.0.0 #586
0.21.0 peers effect ^4.0.0, but its declarations are only correct on effect 4.1. On effect 4.0.6, Group.resource endpoints' ~Success resolves to any, so typed Client.make consumers lose their response types.
Repro (relayed from preferenceflow): preferenceflow at c46174c (effect 4.0.6), bumped to effect-jsonapi 0.21.0, gives 9 type errors in apps/cli. On effect 4.1.2 it gives 0.
Fix
Raise the effect peer (catalogs.peers) to ^4.1.0, with the catalog comment naming the dependency-forced reason (the 4.1 HttpApi types), per AGENTS.md. Minor changeset, with a migration note: apps move to effect ≥ 4.1.0.
Add a CI type-level check at the floor: type-check the emitted declarations (test/emitted/*, typecheck:dist) and a typed Client.make consumer against the lowest admitted effect (4.1.0), so the peer floor can't drift again.
Activity
Raise the effect peer to ^4.1.0 and check the floor in CI