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

Ignore empty blank options on fields #778

Merged
merged 77 commits into from
Apr 2, 2021

Conversation

Vitalina-Vakulchyk
Copy link
Contributor

@Vitalina-Vakulchyk Vitalina-Vakulchyk commented Mar 26, 2021

Add :ignore_blank option to not pass fields when we have field responds true to .empty? method

  • The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
  • Wrote good commit messages.
  • Commit message starts with [Fix #issue-number] (if the related issue exists).
  • Feature branch is up-to-date with master (if not - rebase it).
  • Squashed related commits together.
  • Updated tests.
  • Added an entry to the changelog if the new code introduces user-observable changes. See changelog entry format for details.

@Vitalina-Vakulchyk Vitalina-Vakulchyk force-pushed the ignore-empty-blank-options-on-fields branch from 43fb72b to ff81e4e Compare March 26, 2021 15:47
@Vitalina-Vakulchyk Vitalina-Vakulchyk force-pushed the ignore-empty-blank-options-on-fields branch from 1f616f5 to 56b4361 Compare March 31, 2021 08:11
@Vitalina-Vakulchyk
Copy link
Contributor Author

Vitalina-Vakulchyk commented Mar 31, 2021

@rabotyaga @barthez @AlexVPopov
Thank you for the comments! Please take a look again.

CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
spec/chewy/fields/base_spec.rb Outdated Show resolved Hide resolved
spec/chewy/fields/base_spec.rb Outdated Show resolved Hide resolved
spec/chewy/fields/base_spec.rb Outdated Show resolved Hide resolved
spec/chewy/fields/base_spec.rb Outdated Show resolved Hide resolved
spec/chewy/fields/base_spec.rb Outdated Show resolved Hide resolved
@Vitalina-Vakulchyk
Copy link
Contributor Author

Vitalina-Vakulchyk commented Apr 2, 2021

Dropping 2.5 support as its EOL passed on 31-03-2021.

@Vitalina-Vakulchyk Vitalina-Vakulchyk merged commit 1b54be4 into master Apr 2, 2021
@Vitalina-Vakulchyk Vitalina-Vakulchyk deleted the ignore-empty-blank-options-on-fields branch April 2, 2021 13:09
@AlexVPopov AlexVPopov linked an issue Apr 5, 2021 that may be closed by this pull request
cyucelen pushed a commit to cyucelen/chewy that referenced this pull request Jan 28, 2023
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.

Skip fields from record while import
5 participants