zth / rescript-relay

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

[V3] Things to port and fix #461

Closed zth closed 7 months ago

zth commented 1 year ago
DZakh commented 1 year ago

It also doesn't work in curried mode. This can be fixed by adding @@uncurried on top of the package rescript files.

zth commented 1 year ago

V3 is not intended to work in curried mode, it'll be full uncurried.

DZakh commented 1 year ago

I think @@uncurried won't harm until V12 or something. This way, the package stays uncurried, but people with uncurried: false can still use it.

DZakh commented 1 year ago

The only difference for them will be the need to add a dot in the callbacks ((. a) => ())

zth commented 7 months ago

These all work for v3.