kontent-ai / kontent-ai/migration-toolkit

Add External ID to MigrationReference

Open
#11 1 comment 0 reactions 1 assignee Claimed by @Enngage View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.