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

Adding the ability to control skipping empty records by the Reader class #354

Merged
merged 4 commits into from
Aug 29, 2019

Conversation

nyamsprod
Copy link
Member

@nyamsprod nyamsprod commented Aug 28, 2019

This PR adds the ability in the Reader class to control if empty records should be skipped or not. By default and to avoid BC break empty records are skipped. The result of Reader::getRecords will be controlled by the following methods.

  • Reader::preserveEmptyRecord
  • Reader::skipEmptyRecord
  • Reader::isEmptyRecordSkipped

@nyamsprod
Copy link
Member Author

@clcastro87 this PR was prompted by your issue it adds the ability to also control if empty records should be skipped or not. If you could test it and tell me if that's also good for you. Again I should stress that those features will only be release end of september at least.

@nyamsprod nyamsprod changed the title Adding empty records process controls Adding the ability to control if empty records should be processed by the Reader class Aug 28, 2019
@nyamsprod nyamsprod changed the title Adding the ability to control if empty records should be processed by the Reader class Adding the ability to control skipping empty records by the Reader class Aug 28, 2019
@nyamsprod nyamsprod merged commit b775a57 into master Aug 29, 2019
@nyamsprod nyamsprod deleted the feature/enable-skip-empty-records-controls branch August 29, 2019 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant