BBMRI-ERIC / negotiator

An Open-source access negotation system for Research Infrastructures
https://negotiator.bbmri-eric.eu
GNU Affero General Public License v3.0
3 stars 8 forks source link

[FEATURE] Improve performance when getting negotiations #248

Open svituz opened 3 months ago

svituz commented 3 months ago

Brief description. Currently, the endpoints to get Negotiations return all the attributes of the Negotiations and this can result in lots of information and data returned from the server. Performance may increase drastically by limiting the attributes returned, to the ones actually needed. Probably, the best is to let the client decide what version of the response it wants (minimal or all). In this way, the frontend can ask only for the minimal set of attributes, while another client can get all.