<table><tr><td style="">barchiesi created this revision.<br />barchiesi added a reviewer: dvratil.<br />barchiesi added a project: LibKGAPI.<br />Herald added a project: KDE PIM.<br />Herald added a subscriber: kde-pim.<br />barchiesi requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D19948">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The Drive API allows setting certain standard query parameters, valid for all invocations (see <a href="https://developers.google.com/drive/api/v2/query-parameters" class="remarkup-link" target="_blank" rel="noreferrer">Standard Query Parameters</a>). Some of these are useful (setting what fields a request needs allows increasing performance) while others would be useless in a library (prettyPrint comes to mind, we de-serialize directly into objects).</p>

<p>This patch adds support for the fields query parameter in Job and sets up About to use it. Before proceeding with the other jobs/entities, is this the correct approach? Is the functionality something we want in LibKGAPI?</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>AboutFetchJobTest has been updated to test a fetch with a limited subset of fields.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R477 KGAPI Library</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19948">https://phabricator.kde.org/D19948</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/drive/aboutfetchjobtest.cpp<br />
autotests/drive/data/about_fetch_limited_fields_request.txt<br />
autotests/drive/data/about_fetch_limited_fields_response.txt<br />
autotests/drive/data/about_limited_fields.json<br />
src/core/job.cpp<br />
src/core/job.h<br />
src/core/job_p.h<br />
src/drive/aboutfetchjob.cpp<br />
src/drive/driveservice.cpp<br />
src/drive/driveservice.h</div></div></div><br /><div><strong>To: </strong>barchiesi, dvratil<br /><strong>Cc: </strong>kde-pim, LibKGAPI, barchiesi, gennad, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>