zth / rescript-relay

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

Runtime error on v1.1.0 #441

Closed mununki closed 1 year ago

mununki commented 1 year ago

When I try to v1.1.0 on my react-native project then I encounter the runtime error as below;

record.getType is not a function. (In 'record.getType()', 'record.getType' is undefined)

in source RescriptRelay.bs.js (105:67)

v1.0.4 and v1.0.5 seem fine.

zth commented 1 year ago

Did you upgrade Relay to 15.0.0? https://github.com/zth/rescript-relay/blob/master/CHANGELOG.md#upgrade-versions

mununki commented 1 year ago

Did you upgrade Relay to 15.0.0?

Ah! I missed it. Let me try again with Relay 15.0.0.

mununki commented 1 year ago

I confirm that the error has gone after upgrading the relay to v15. Thanks!