The current implementation uses the PUT methods to replace an entry on itself. But it falls short as soon as the content gets larger and a single entry exceeds the payload limit of 1 MB.
It would be nicer, if the migration itself would use the PATCH options introduced in the API (which is also used on the Contentful Web Client) to update an entry. That would reduce the payload and would not require to hack around with makeRequest for a migration.
The current implementation uses the
PUTmethods to replace an entry on itself. But it falls short as soon as the content gets larger and a single entry exceeds the payload limit of 1 MB.It would be nicer, if the migration itself would use the
PATCHoptions introduced in the API (which is also used on the Contentful Web Client) to update an entry. That would reduce the payload and would not require to hack around withmakeRequestfor a migration.