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

Add Add/Update behavior and change default behavior #119

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

VincentMarmiesse
Copy link
Contributor

Append behavior is called Add/Update which is confusing, and the real add_update behavior is not available.

@VincentMarmiesse
Copy link
Contributor Author

@@ -10,7 +10,7 @@
<fastsimpleimport>
<default>
<ignore_duplicates>0</ignore_duplicates>
<behavior>append</behavior>
<behavior>add_update</behavior>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change. To be honest, I am not sure if we should do this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. No, I wouldn't change the default behavior - we'd need to introduce a 2.0 then, and I don't think that would be worth it.
Everything else in this PR looks good for me.

@avstudnitz
Copy link
Member

I haven't experienced the error from the stackexchange link, and I'm using FastSimpleImport heavily in two bigger projects, both with configurable projects.

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

Successfully merging this pull request may close these issues.

3 participants