Project

General

Profile

Architecture #10625

Updated by François ARMAND about 6 years ago

For historical reason, all directives from a same technique are merged during generation. That means that only one set of parameters is generated for the directive, and only one set of files is written for all of them.  

 This leads to a lot of problems, like: 

 * it is impossible to have two directives from the same Technique, but with different Technique version, on the same node (see #2736, which immensely complexify Technique migration, see #4293) 
 * it is not possible to have two directives from the same Technique, on the same node, one in Audit, the other in Enforce mode (see #10580) 
 * you can't sort Directive from the same technique at different stage, even if they are in different rules,  
 * debugging is complex as it is impossible to clearly isolate the life cycle of one directive 


 Important note: UniqueVariable are not supported anymore after that merge. See #11940. 

 It is likely that you don't know what an unique variable is in all case.

Back