@lenne.tech/ng-base 14.13.3 → 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.
@@ -1361,6 +1361,11 @@ class GraphQLService {
1361
1361
  if (allowed && !allowed.fields[key]) {
1362
1362
  continue;
1363
1363
  }
1364
+ // Handling to set a float to null because empty string is invalid
1365
+ if (allowed.fields[key].type === 'Float' && value === null) {
1366
+ result.push(key + ':' + null);
1367
+ continue;
1368
+ }
1364
1369
  // Skip value if not exists
1365
1370
  if (value === undefined || value === null) {
1366
1371
  continue;