[MDSAL-825] Add explicit open module declarations to models Created: 13/May/23 Updated: 09/Jan/24 |
|
| Status: | Confirmed |
| Project: | mdsal |
| Component/s: | models |
| Affects Version/s: | None |
| Fix Version/s: | 14.0.0 |
| Type: | Task | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
While we want to discourage reflection, we also want to keep the maintenance to theĀ bare minimum required. Covert all automatic modules to explicit open modules, as in:
open module org.opendaylight.yang.gen.ietf.inet.types.rfc6991 {
// ...
}
This provides a further tightening of the contract: all dependencies need to be explicitly declared, but reflection still works. |