You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor error and warning messages for clarity and consistency across stack, cache provider, and utility functions. Update deprecation warning in entry module to provide clearer guidance for removal.
Copy file name to clipboardExpand all lines: src/core/lib/utils.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ export function transform (type) {
28
28
this._query[type].BASE=query;
29
29
returnthis;
30
30
}else{
31
-
console.error('Kindly provide valid parameters');
31
+
console.error('Invalid parameters. Expected a string or an array of field names.');
32
32
}
33
33
break;
34
34
case2:
@@ -38,11 +38,11 @@ export function transform (type) {
38
38
this._query[type][arguments[0]]=query;
39
39
returnthis;
40
40
}else{
41
-
console.error('Kindly provide valid parameters');
41
+
console.error('Invalid parameters. Expected first parameter as a string (reference field UID) and second parameter as a string or an array of field names.');
42
42
}
43
43
break;
44
44
default:
45
-
console.error('Kindly provide valid parameters');
45
+
console.error('Invalid parameters. Provide either one parameter (field name or array) or two parameters (reference field UID and field name or array).');
0 commit comments