zth/rescript-relay

[V3] Things to port and fix

zth opened this issue · 5 comments

zth commented
  • Port local enum disable safe check
  • Port getConnectionNodes emit for plural fragments
DZakh commented

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

zth commented

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

DZakh commented

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

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

zth commented

These all work for v3.