Skip to content
Permalink
Browse files

Merge pull request #60 from webcomputing/feature/use-default-conf-func

Uses default configuration function allows by inversify-components@0.4.6 for unifier
  • Loading branch information...
antoniusostermann committed Mar 4, 2019
2 parents b684186 + 906068c commit fa3476e0267efd0ada1109589ecce3ddd59d81b2
Showing with 3 additions and 2 deletions.
  1. +1 −0 CHANGELOG
  2. +1 −1 package.json
  3. +1 −1 src/components/unifier/descriptor.ts
@@ -2,6 +2,7 @@ version 0.5.0
- adds setAppendedJSON() method to response handler, enabling you to set some json which will be appended to / merged with the resulting json of the response handler
- adds resolveAnswerField() to basic response handler: This allows you to get the currently stored value of any response handler field
- adds option to UniferConfiguration that allows to change the way how request extractors are found.
- adds option to pass component's defaultConfiguration a function that returns a new configuration object

version 0.4.1
- fixes typing of StayInContextCallback and ClearContextCallback
@@ -42,7 +42,7 @@
"i18next": "^11.5.0",
"i18next-sync-fs-backend": "^1.0.0",
"inversify": "4.1.1",
"inversify-components": "^0.4.5",
"inversify-components": "^0.4.6",
"js-combinatorics": "^0.5.3",
"lodash": "^4.17.11",
"redis": "2.8.0",
@@ -30,7 +30,7 @@ const configuration: Configuration.Defaults = {
export const descriptor: ComponentDescriptor<Configuration.Defaults> = {
name: "core:unifier",
interfaces: componentInterfaces,
defaultConfiguration: configuration,
defaultConfiguration: () => ({ ...configuration }),
bindings: {
root: (bindService, lookupService) => {
bindService.bindExtension<ContextDeriverI>(lookupService.lookup("core:root").getInterface("contextDeriver")).to(ContextDeriver);

0 comments on commit fa3476e

Please sign in to comment.
You can’t perform that action at this time.