Entity Storage .getAll() method signature differences between frontend and serverless

To search all records, docs say to pass no args to entReference.getAll() for frontend code. While, serverless code needs to do entReference.getAll({}), passing an empty object.

I tried passing an empty object for frontend code entReference.getAll({}), and I got this error message:

    "status": 400,
    "message": "'options' should be an object"

Why does this disparity exist?

1 Like

Were you able to find some reasoning that you are looking for? Do you still need from @App-Platform-Squad ?

Not yet, and the difference still exists.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.