integreat-io / integreat

Node.js integration layer
Other
13 stars 3 forks source link

Support `GET` fetching based on `data` #266

Closed kjellmorten closed 8 months ago

kjellmorten commented 11 months ago

When GET is given data and no id, id(s) should be extracted from data. One data item should be treated as member.

Find out how to deal with payload.type and data item $type.

kjellmorten commented 8 months ago

We won't do this, at least not for now, as we sometimes actually want to send a GET with data, and it will be hard to make sure the case where we want to fetch by id(s) in data to not interfere with the case where we actually want to send the data.

Instead, this should be handled in mutations, extracting the ids with a path.