Skip to content

Fix TypeError when calling Crud::setFilters(null)#7712

Merged
javiereguiluz merged 1 commit into
EasyCorp:5.xfrom
guillaume-sainthillier:fix-crud-set-filters-null
Jul 22, 2026
Merged

Fix TypeError when calling Crud::setFilters(null)#7712
javiereguiluz merged 1 commit into
EasyCorp:5.xfrom
guillaume-sainthillier:fix-crud-set-filters-null

Conversation

@guillaume-sainthillier

Copy link
Copy Markdown
Contributor

The method signature accepts null but forwarded the value unchanged to
CrudDto::setFiltersConfig(), whose parameter is not nullable. Null now
means 'no filters' and is normalized to an empty FilterConfigDto.

The method signature accepts null but forwarded the value unchanged to
CrudDto::setFiltersConfig(), whose parameter is not nullable. Null now
means 'no filters' and is normalized to an empty FilterConfigDto.
@javiereguiluz

Copy link
Copy Markdown
Collaborator

Thanks for fixing this bug Guillaume.

@javiereguiluz
javiereguiluz merged commit 457c1ec into EasyCorp:5.x Jul 22, 2026
16 checks passed
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.

2 participants