Open jwsm opened 7 years ago
This looks really useful, and provides a solution to one of the concerns that we had with the first implementation: conflicting service and middleware names.
I'd like to suggest a change to the "extended" format, either:
"as"
instead of "mappedName"
or
"myEmailService:emailService"
Thanks. I will work on an implementation.
We're proposing a backwards-compatible enhancement to the "server-provisions" feature/config block introduced in https://github.com/BlueOakJS/blueoak-server/pull/87.
In some cases, a container BOS may wish to only include some subset of services or middleware from a provisioned BOS rather than all. In addition, to avoid naming conflicts you would want to be able to give the provisioned service a mapped name.
In the example below: