webtides / luna-js

MIT License
8 stars 0 forks source link

Improve service container #50

Closed lukas-schardt closed 3 years ago

lukas-schardt commented 3 years ago

47 introduced the system of a service container to let the luna-js user override services inside luna-js. This service container can be used for other luna core services to allow overriding and easier testing.

Proposed patterns:

@LunaService({
    name: 'DocumentRenderer'
})
export default class DocumentRenderer {

}
lukas-schardt commented 3 years ago

Closed by #53