PromiseObject
used to be available via:
import DS from 'ember-data'
const { PromiseObject } = DS
Now, the PromiseObject
Class is still mentioned here: @ember-data/store - 4.6 - Ember API Documentation, 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