While working on #506 I faced a situation where the response contained the JSON node for the data but this node contained JsonValueKind.Null. As far as I know, the JSON in the response normally omits the data node completely when there is no data and the logic in the AsPaginatedResponse<T> extension method was designed around the node being missing. The logic does not handle a null value in this field.
While working on #506 I faced a situation where the response contained the JSON node for the data but this node contained
JsonValueKind.Null. As far as I know, the JSON in the response normally omits the data node completely when there is no data and the logic in theAsPaginatedResponse<T>extension method was designed around the node being missing. The logic does not handle a null value in this field.