Skip to content

feat!: remove $config parameter from ReaderInterface#23

Merged
ramsey merged 1 commit intomainfrom
feature/remove-reader-config-param
Dec 13, 2021
Merged

feat!: remove $config parameter from ReaderInterface#23
ramsey merged 1 commit intomainfrom
feature/remove-reader-config-param

Conversation

@ramsey
Copy link
Copy Markdown
Contributor

@ramsey ramsey commented Dec 13, 2021

BREAKING CHANGE: Change to ReaderInterface interface

Description

This should have been included as part of #21 but the changes got misplaced in another branch. :-)

This further simplifies the ReaderInterface by removing the $config parameter. Readers should handle their own configuration. All their interface needs is the array of data to convert into MessageCollection.

Product requirements and context

How has this been tested?

PR Checklist

  • I have added tests to cover my changes.

BREAKING CHANGE: Change to ReaderInterface interface
@ramsey ramsey requested review from a team, jmauerhan, maccath and xiian December 13, 2021 15:37
@qlty-cloud-legacy
Copy link
Copy Markdown

Code Climate has analyzed commit 09d77df and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (80% is the threshold).

This pull request will bring the total coverage in the repository to 96.3% (0.0% change).

View more on Code Climate.

@ramsey ramsey merged commit 146a0d4 into main Dec 13, 2021
@ramsey ramsey deleted the feature/remove-reader-config-param branch December 13, 2021 15:39
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.

2 participants