beyond-the-cloud-dev / soql-lib

The SOQL Lib provides functional constructs for SOQL queries in Apex.
https://soql.beyondthecloud.dev/
MIT License
61 stars 9 forks source link

SOQL.Filter.with(Account.Name).contains(null); throws NullPointerException #116

Closed Aschalin closed 4 months ago

Aschalin commented 4 months ago

new version of library has issue with contains(null)

Screenshot 2024-04-30 at 17 19 56

old version(marked green on screenshot bellow) of formattedString method was working with null values

Screenshot 2024-04-30 at 17 19 17
pgajek2 commented 4 months ago

Thank you @Aschalin ! Code fixed. You can find the newest version on the main branch. Please let me know if it works as expected.