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

Use ids instead of indexes for resolving data transfer files #160349

Merged
merged 1 commit into from Sep 7, 2022

Conversation

mjbvz
Copy link
Contributor

@mjbvz mjbvz commented Sep 7, 2022

When an extension needs to read a data transfer file, we were previously using the index of the item. This is unreliable as it means we have to ensure the array of data transfer items never changes order

With this PR, i've switched us to use a unique id instead

Fixes #160346

When an extension needs to read a data transfer file, we were previously using the index of the item. This is unreliable as it means we have to ensure the array of data transfer items never changes order

With this PR, i've switched us to use a unique `id` instead
@mjbvz mjbvz added this to the September 2022 milestone Sep 7, 2022
@mjbvz mjbvz self-assigned this Sep 7, 2022
@mjbvz mjbvz enabled auto-merge (squash) September 7, 2022 20:10
@mjbvz mjbvz merged commit f86ceb6 into microsoft:main Sep 7, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pasting an image into a notebook markdown cell fails in some cases
2 participants