Skip to content

Commit

Permalink
feat(context): Add decorator factories
Browse files Browse the repository at this point in the history
The feature implements common behavior for decorator functions
for classes, methods, parameters, and properties. It takes
inheritance into consideration and aggregate metadata for properties,
methods, and parameters into one object by type per class.

It also allows control for decorator inheritance by setting the
`allowInheritance` flag or overriding `inherit()`.
  • Loading branch information
Raymond Feng authored and raymondfeng committed Dec 15, 2017
1 parent 06dd642 commit f517570
Show file tree
Hide file tree
Showing 5 changed files with 1,128 additions and 35 deletions.
4 changes: 4 additions & 0 deletions packages/context/package.json
Expand Up @@ -22,12 +22,16 @@
"author": "IBM",
"license": "MIT",
"dependencies": {
"debug": "^3.1.0",
"lodash": "^4.17.4",
"reflect-metadata": "^0.1.10"
},
"devDependencies": {
"@loopback/build": "^4.0.0-alpha.7",
"@loopback/testlab": "^4.0.0-alpha.16",
"@types/bluebird": "^3.5.18",
"@types/debug": "0.0.30",
"@types/lodash": "^4.14.87",
"bluebird": "^3.5.0"
},
"keywords": [
Expand Down

0 comments on commit f517570

Please sign in to comment.