Skip to content

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

Open
guillaume-sainthillier wants to merge 1 commit into
EasyCorp:5.xfrom
guillaume-sainthillier:fix-crud-set-filters-null
Open

Fix TypeError when calling Crud::setFilters(null)#7712
guillaume-sainthillier wants to merge 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.
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.

1 participant