v0.17.0-beta.19
Pre-release
Pre-release
This release finishes the work started in beta.18 to eliminate implicit injections from ember-orbit. #382 addresses the issue of implicit injections used by buckets. As noted in that PR, please update your bucket initializers to follow the following form:
import BucketFactory from '../data-buckets/main';
export function initialize(application) {
const orbitConfig = application.resolveRegistration('ember-orbit:config');
// Register this bucket as the main bucket service so that it can be injected
// into sources via `applyStandardSourceInjections`.
//
// IMPORTANT: If your app has more than one bucket, only register one as the
// main bucket service.
application.register(`service:${orbitConfig.services.bucket}`, BucketFactory);
}
export default {
name: 'main-bucket-initializer',
after: 'ember-orbit-config',
initialize,
};Changelog
💥 Breaking Change
🏠 Internal
Committers: 1
- Dan Gebhardt (@dgeb)