use a context for the _resolve_*()
methods
#290
Labels
enhancement
New feature or request
fringe
Tangentially related stuff, e.g., separate projects that can be built using odxtools
currently most methods for resolving references (
resolve_odxlinks()
and_resolve_snrefs()
) take the odxlinks database or the diagnostic layer as their argument. Unfortunately, this is not always sufficient because some of these methods require additional parameters (example). The approach currently taken is to introduce new_resolve_*()
methods for affected classes which must be called instead of the generic versions. Alternatively it would be possible to pass an object describing the full calling context and let the called method determine the required information. E.g.Note that this would require a major refactoring because all classes would be affected and it might even make the code worse (in the sense of "more complicated")
The text was updated successfully, but these errors were encountered: