zth / rescript-relay

Use Relay with ReScript.
https://rescript-relay-documentation.vercel.app/docs/getting-started
339 stars 53 forks source link

Remove `FutureAddedValue` for client schema enums/unions #514

Closed tsnobip closed 3 months ago

tsnobip commented 3 months ago

Right now, rescript-relay generates FutureAddedValue for enums/unions that come from client schemas.

This doesn't really make sense given they all live in the frontend only so they can't get out of sync. We should remove this extra variant case.

zth commented 3 months ago

Fixed here: https://github.com/zth/relay/commit/6e0926315fe6cd062e729fc2042b523a62b00382

It's in the Relay Resolvers branch though, so it'll be a little while before it lands.

tsnobip commented 3 months ago

released in 3.0.0-rc.8 now I guess right?