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
When following the documentation at https://orbitjs.com/docs/next/updating-data#transforms for adding a record, if you use the snippet as-is, with the arrow function returning t.addRecord() directly, Orbit 0.17 beta fails with
Unhandled Rejection (TypeError): transform is undefined in isTransform at /src/transform.ts:113
I noticed the snippet just below, where you can return an array of transforms, and tried that instead (basically, an array of one.) This works.
is this a BC break in 0.17 from a previous behavior, or are the docs wrong?
The text was updated successfully, but these errors were encountered:
When following the documentation at https://orbitjs.com/docs/next/updating-data#transforms for adding a record, if you use the snippet as-is, with the arrow function returning
t.addRecord()
directly, Orbit0.17
beta fails withUnhandled Rejection (TypeError): transform is undefined in isTransform at /src/transform.ts:113
I noticed the snippet just below, where you can return an array of transforms, and tried that instead (basically, an array of one.) This works.
is this a BC break in
0.17
from a previous behavior, or are the docs wrong?The text was updated successfully, but these errors were encountered: