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

Won't find relationships of skipped documents #95

Open
SkeloGH opened this issue Oct 6, 2020 · 1 comment
Open

Won't find relationships of skipped documents #95

SkeloGH opened this issue Oct 6, 2020 · 1 comment

Comments

@SkeloGH
Copy link
Owner

SkeloGH commented Oct 6, 2020

Describe the bug
Since it avoids overwriting the pre-existing documents, it won't find the documents related to that document.

To Reproduce

  1. Manually clone a single document that has one or more relationships to the target db.
  2. Run the tool using that document id

Expected behavior
Weaver would try to find the related documents regardless of already existing on the target db.

Environment:

  • Any

Additional context
Alternatively, provide a --force flag to force overwriting of already existing docs

@SkeloGH
Copy link
Owner Author

SkeloGH commented Oct 11, 2020

If implementing --force, it should be done at client registration level, also provide a way to toggle the setting on/off, probably worth implementing first weaver set clientOption and weaver unset clientOption

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

No branches or pull requests

1 participant