@lenne.tech/ng-base 14.13.2 → 14.13.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1395,6 +1395,11 @@ class GraphQLService {
1395
1395
  if (allowed && !allowed.fields[key]) {
1396
1396
  continue;
1397
1397
  }
1398
+ // Handling to set a float to null because empty string is invalid
1399
+ if (allowed.fields[key].type === 'Float' && value === null) {
1400
+ result.push(key + ':' + null);
1401
+ continue;
1402
+ }
1398
1403
  // Skip value if not exists
1399
1404
  if (value === undefined || value === null) {
1400
1405
  continue;