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

Deprecate DateOperatorType::TYPE_NULL and TYPE_NOT_NULL #6734

Merged
merged 1 commit into from
Jan 11, 2021

Conversation

VincentLanglet
Copy link
Member

Subject

I recommend deprecating these two constants.
The UX is weird because you can still provide a value when you selected these types.
I recommend instead using a specific filter for null values like the NullFilter of DoctrineORMAdminBundle.

I am targeting this branch, because BC.

Changelog

### Deprecated
- Deprecate `DateOperatorType::TYPE_NULL` and `DateOperatorType::TYPE_NOT_NULL`

@VincentLanglet VincentLanglet requested a review from a team January 3, 2021 20:05
OskarStark
OskarStark previously approved these changes Jan 5, 2021
@VincentLanglet VincentLanglet requested a review from a team January 5, 2021 14:14
@SonataCI
Copy link
Collaborator

SonataCI commented Jan 6, 2021

Could you please rebase your PR and fix merge conflicts?

@VincentLanglet
Copy link
Member Author

Please take a look @sonata-project/contributors

phansys
phansys previously approved these changes Jan 11, 2021
@SonataCI
Copy link
Collaborator

Could you please rebase your PR and fix merge conflicts?

@VincentLanglet VincentLanglet merged commit 7e0bdd2 into sonata-project:3.x Jan 11, 2021
@VincentLanglet VincentLanglet deleted the deprecateNull branch March 27, 2021 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants