iliafrenkel/go-pb

Don't request paste Body for listing

iliafrenkel opened this issue · 0 comments

Describe the bug
When building a page with the list of pastes the result of the query contains full pastes, body included. This can get very big. We don't need the body for pastes list anyway.

Additional context
In the same way, as we have FindRequest struct, we should define FindResponse struct that will only contain the fields we need.