Skip to content

Commit

Permalink
Merge pull request #3079 from ATeals/master
Browse files Browse the repository at this point in the history
docs: tiny typo
  • Loading branch information
kamilmysliwiec authored Aug 13, 2024
2 parents 131af41 + 126c2f7 commit b5e0258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/fundamentals/execution-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ const roles = this.reflector.getAllAndMerge(Roles, [context.getHandler(), contex

This would result in `roles` containing `['user', 'admin']`.

For both of these merge methods, you pass the metadata key as the first argument, and an array of metadata target contexts (i.e., calls to the `getHandler()` and/or `getClass())` methods) as the second argument.
For both of these merge methods, you pass the metadata key as the first argument, and an array of metadata target contexts (i.e., calls to the `getHandler()` and/or `getClass()` methods) as the second argument.

#### Low-level approach

Expand Down

0 comments on commit b5e0258

Please sign in to comment.