kontent-ai / kontent-ai/migration-toolkit

Translate items / asset to id in single import script

Open
#44 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4
Forks
3
PR merge metrics
No merged PRs in 30d

Description

When importing, assets / items are referenced by external_id if they do not exist in target environment.

However, if these items / assets were created in the same import, they can be just referenced with their new id instead. This way we wouldn't need to use external_id at all.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the single-import flow that resolves asset and item references; the issue does not name a file, entry point, or test. Confirm how newly created entities receive IDs and how external_id references are currently handled. Done means same-import entities use their new IDs, while entities absent from the target still resolve through external_id.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.