Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4870

Is PromiseObject no longer available?

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 4870

Trending Articles