kontent-ai / kontent-ai/migration-toolkit
Add External ID to MigrationReference
Open
on hold
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
### Motivation
Why is this feature required? What problems does it solve?
When importing from a 3rd-party system I want to be able to reference linked items and assets by external ID explicitly.
### Proposed solution
Expand the `MigrationReference` type to accept a discriminated union of `{ readonly codename: T; } | { readonly external_id: T; }`.
Update content item and asset importers to handle external IDs.
### Additional context
N/A
Contributor guide
Assessment
This issue has not been assessed yet.