You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Following #145, replacing a function with an alias to a function should not be detected as a breaking change. src/duty/callables/__init__.py:31: lazy: Public object points to a different kind of object: function -> alias
Expected behavior
If the alias points to another package, we will need to resolve it (external=True when resolving?).
The text was updated successfully, but these errors were encountered:
We now follow aliases when checking API breaking changes, so I'll close this for now, and it could be re-opened as a feature request to automatically load external modules when an alias cannot be resolved, to make sure there's a breaking change or not. The alternative is to just output a warning: "can't resolve alias, possible breaking change".
Describe the bug
Following #145, replacing a function with an alias to a function should not be detected as a breaking change.
src/duty/callables/__init__.py:31: lazy: Public object points to a different kind of object: function -> alias
Expected behavior
If the alias points to another package, we will need to resolve it (
external=True
when resolving?).The text was updated successfully, but these errors were encountered: