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
import { Socket as PhoenixSocket } from "phoenix";
import * as AbsintheSocket from "@absinthe/socket";
import {createSubscriber} from "@absinthe/socket-relay";
const phoenixSocket = new PhoenixSocket(webSocketUrl, {
params: () => {
}
});
const absintheSocket = AbsintheSocket.create(phoenixSocket)
const subscribe = createSubscriber(absintheSocket)
running with relay version 12. I get
TypeError: _ref3 is undefined
on line 49 of src/createSubscriber.js. The compiled code that throws looks like:
142 |
143 | return function (_ref2, variables, cacheConfig, _ref3) {
144 | var operation = _ref2.text;
> 145 | var OnUnrecoverableError = _ref3.onError,
| ^ 146 | onNext = _ref3.onNext;
147 |
148 | _babel_runtime_helpers_newArrowCheck__WEBPACK_IMPORTED_MODULE_9___default()(this, _this5); // we need to place this logic here and not in ensureIsSubscription as if we
The text was updated successfully, but these errors were encountered:
My code:
running with relay version 12. I get
on line 49 of
src/createSubscriber.js
. The compiled code that throws looks like:The text was updated successfully, but these errors were encountered: