Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fetching items by external reference in batches #50

Merged
merged 3 commits into from
Jan 31, 2023

Conversation

nerdenough
Copy link
Contributor

@nerdenough nerdenough commented Jan 31, 2023

This PR fixes fetching item ids by external reference. Originally, there was a shapeIdentifier filter within the function to ensure an item fetched with the external reference matches the desired shape. However, this is not useful when searching for the id of a parent item. We have no way to know the shape of the desired parent item if it is specified in a separate spec to what is currently being imported, and if it is different to the current item, no result is returned and the new item is just imported to the fallback folder (currently root).

Fixes #44

@nerdenough nerdenough self-assigned this Jan 31, 2023
@nerdenough nerdenough marked this pull request as ready for review January 31, 2023 10:37
@nerdenough nerdenough merged commit 08dfec8 into main Jan 31, 2023
@nerdenough nerdenough deleted the fix/fetching-items-by-external-reference branch January 31, 2023 12:07
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.

Problem with importing folders when divide import into batches
1 participant