When calling db.view, a value for update_seq is only returned if requested in the params with update_seq: true. Therefore, the type for the response in DocumentViewResponse should have this as optional
Testing recommendations
Call any view with update_seq: false in the params, notice how update_seq is not in the return value
Overview
When calling
db.view
, a value for update_seq is only returned if requested in the params withupdate_seq: true
. Therefore, the type for the response inDocumentViewResponse
should have this as optionalTesting recommendations
Call any view with
update_seq: false
in the params, notice howupdate_seq
is not in the return valueChecklist