Skip to content

Commit 5e7f834

Browse files
authored
Update ModulesDevelopment.md
1 parent 35d7800 commit 5e7f834

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

doc/ModulesDevelopment.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,8 @@ An aggregator inherits from `AggregatorInterface` and in particular this method:
409409
410410
The `aggregate` method is called whenever the _policy_ is satisfied. It gets a map with all the declared QualityObjects. It is expected to return a new Quality based on the inputs.
411411
412+
Note: the `aggregate` method receives a map with more objects than requested. In particular, it contains the objects produced by the aggregator itself. This is probably going to change in the future. For the time being make sure you query the map with the correct name and not blindly loop over all elements.
413+
412414
## Committing code
413415
414416
To commit your new or modified code, please follow this procedure

0 commit comments

Comments
 (0)