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
In 2.4 I was able to pass a pagination cursor to client, which would get serialized to JSON format using result[:after] and then I had to use a bit more manual process to convert the same JSON object back to a pagination cursor:
In 2.4 I was able to pass a pagination cursor to client, which would get serialized to JSON format using
result[:after]
and then I had to use a bit more manual process to convert the same JSON object back to a pagination cursor:Now, in 3.0 it seems like that conversion process no longer works and it results with
invalid expression - Ref expected, Object provided
error.As a workaround, I managed to get it to work with:
But that requires updating the old code that worked just fine, so it looks like a regression.
Also, is there an easier/more recommended way to convert a pagination cursor to/from JSON?
The text was updated successfully, but these errors were encountered: