PromiseObject used to be available via:
import DS from 'ember-data'
const { PromiseObject } = DS
Now, the PromiseObject Class is still mentioned here: https://api.emberjs.com/ember-data/release/modules/@ember-data%2Fstore, as if it’s now available under @ember-data/store, but that is not the case.
So my question is, how do I access it via the new @ember-data import syntax or has the Class been deprecated? And if so, is there an equivalent via some addon?
I can still access it via import { PromiseObject } from '@ember-data/store/-private'; but this feels hacky and ureliable.
Thanks
2 posts - 2 participants