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 filters of Between, EqualsEmpty and EqualsNull #85

Merged
merged 2 commits into from
Feb 14, 2022
Merged

Conversation

devanych
Copy link
Member

Q A
Is bugfix?
New feature? ✔️
Breaks BC?
Fixed issues #42

@devanych devanych added the status:code review The pull request needs review. label Feb 14, 2022
@devanych devanych requested a review from a team February 14, 2022 13:52
src/Reader/Filter/Between.php Outdated Show resolved Hide resolved
@samdark samdark merged commit d9eeb87 into master Feb 14, 2022
@samdark samdark deleted the add-more-filters branch February 14, 2022 14:16
@samdark
Copy link
Member

samdark commented Feb 14, 2022

👍

private function validateValue($value): void
{
if (!is_scalar($value)) {
throw new InvalidArgumentException(sprintf(
Copy link
Member

Choose a reason for hiding this comment

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

What about datetimeInterface?
Is it possible to support this?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, that would be great. @roxblnfk would you please add an issue about it?

Copy link
Member Author

Choose a reason for hiding this comment

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

In the same filter? Or can create a separate BetweenDate class?

Copy link
Member Author

@devanych devanych Feb 17, 2022

Choose a reason for hiding this comment

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

Created issue: #88

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:code review The pull request needs review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants