Override getRecordsWithNotBlankFieldValues for non-String fields (#90)
* Override getRecordsWithNotBlankFieldValues in fflib_SObjects2 The base fflib_SObjects implementation casts every value to String, which throws a TypeException on Date/Datetime/Number/Lookup fields. This override generalises the check to "any non-null value, and for Strings also non-blank" so the helper works for every field type. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * Update fflib_SObjects2.cls Rename method to getRecordsWithNonBlankFieldValues * Update fflib_SObjects2Test.cls Rename method to getRecordsWithNonBlankFieldValues * Update fflib_SObjects2.cls Rename variable Co-authored-by: Robin Weymans <robin.weymans@mylighthouse.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: William Velzeboer <6429417+wimvelzeboer@users.noreply.github.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
Robin Weymans
William Velzeboer
parent
368978bf20
commit
94129a9791
@@ -26,7 +26,13 @@ jobs:
|
||||
run: npm install @salesforce/cli --global
|
||||
|
||||
- name: Authorize with the dev hub
|
||||
run: echo "${{ secrets.SFDX_AUTH_URL }}" | sf org login sfdx-url --alias SFDX-ENV --set-default-dev-hub --sfdx-url-stdin
|
||||
env:
|
||||
SFDX_AUTH_URL: ${{ secrets.SFDX_AUTH_URL }}
|
||||
run: |
|
||||
echo "$SFDX_AUTH_URL" | wc -c
|
||||
echo "${{ secrets.SFDX_AUTH_URL }}" | wc -c
|
||||
echo "$Env:SFDX_AUTH_URL" | wc -c
|
||||
echo "${{ secrets.SFDX_AUTH_URL }}" | sf org login sfdx-url --alias SFDX-ENV --set-default-dev-hub --sfdx-url-stdin
|
||||
|
||||
- name: Setup the config parameters needed
|
||||
run: |
|
||||
@@ -82,4 +88,4 @@ jobs:
|
||||
|
||||
- name: Push changes to GIT
|
||||
run: |
|
||||
git push
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user