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
Currently if someone tries to json-stringify an HttpPaginatedResponse, they'll get a rather unfriendly "TypeError: Converting circular structure to JSON" error (because an HPR subclasses PaginatedResult and so contains the resource). We should implement toJSON that returns just the fields that should be there, per https://ably.com/documentation/rest/types#http-paginated-response , although why are those docs missing errorMessage and errorCode aargh
Currently if someone tries to json-stringify an
HttpPaginatedResponse
, they'll get a rather unfriendly "TypeError: Converting circular structure to JSON" error (because an HPR subclasses PaginatedResult and so contains the resource). We should implement toJSON that returns just the fields that should be there, per https://ably.com/documentation/rest/types#http-paginated-response , although why are those docs missing errorMessage and errorCode aargh┆Issue is synchronized with this Jira Story by Unito
The text was updated successfully, but these errors were encountered: