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
{{ message }}
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
I think we can get rid of DeppySolver as well as Solution struct.
I think this should become something like below and get exported:
// Solve takes a slice containing all Variables and returns a slice// containing only those Variables that were selected for// installation. If no solution is possible an error is returned.func (s*solver) Solve(vars []deppy.Variable) ([]deppy.Variable, error) {
// ...
}
When we merge #160 (issue #154) which removes variable sources the
DeppySolverbecomes not very useful: just a thin wrapper around the solver from the internal package.I think we can get rid of
DeppySolveras well asSolutionstruct.I think this should become something like below and get exported: