Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync fails when using a different implementation of the same interface in a system #27

Closed
furkan3ayraktar opened this issue Nov 20, 2018 · 0 comments
Assignees
Labels

Comments

@furkan3ayraktar
Copy link
Collaborator

Describe the bug
When there is a component in a system with a different implementation of same interface, sync command syncs the dependencies with the original component.

To Reproduce
Steps to reproduce the behavior:

  1. create w my-workspace com.test
  2. create c comp-1
  3. create c comp-2 comp-1
  4. Make sure comp-1 and comp-2 has different dependencies in project.clj
  5. create c comp-3
  6. create s system-1 base-1
  7. create s system-2 base-2
  8. add comp-1 system-1
  9. add comp-3 system-1
  10. add comp-2 system-2
  11. add comp-3 system-2
  12. build
  13. You'll see dependencies of comp-1 synced to system-2 instead of comp-2.

Expected behavior
system-2 should have dependencies of comp-2 not comp-1.

Operating System (please complete the following information):

  • OS: MacOS
  • Version 10.14

Versions (please complete the following information):

  • Leiningen: 2.8.1
  • Java: 1.8.0_181
  • Polylith: 0.2.1

Additional context
This problem seems to be connected to changes introduced in #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants