Skip to content

fix: cloning a map should adapt layer parents#3282

Merged
yohanboniface merged 1 commit into
masterfrom
clone-map-with-parents
Apr 8, 2026
Merged

fix: cloning a map should adapt layer parents#3282
yohanboniface merged 1 commit into
masterfrom
clone-map-with-parents

Conversation

@yohanboniface

Copy link
Copy Markdown
Member

Sadly it's a bit hard to make a migration, because we can't know for sure which layer of the cloned map should be the real parent. We could search by name, but this is fragile…
Should we simply remove the parent in this case ?

Co-authored-by: David Larlet <david@larlet.fr>
@yohanboniface yohanboniface merged commit 01449ca into master Apr 8, 2026
3 checks passed
@yohanboniface yohanboniface deleted the clone-map-with-parents branch April 8, 2026 16:49
@davidbgk

davidbgk commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Should we simply remove the parent in this case ?

I think it's the less worse approach when we hit the unknown key 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants