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

Refactor and simplify syncingspan maps #1084

Merged
merged 2 commits into from
Dec 22, 2024
Merged

Refactor and simplify syncingspan maps #1084

merged 2 commits into from
Dec 22, 2024

Conversation

feds01
Copy link
Contributor

@feds01 feds01 commented Dec 20, 2024

## Description

This PR removes the source_id field from the LocalSpanMap struct. This field was used to store the source_id of the span that was being parsed, but it was not being used anywhere. This PR also ensures that we abort parsing type arguments when there is an actual error.

## Commits

  • Remove source_id from LocalSpanMap
  • Ensure we abort parsing type arguments when there is an actual error

There is no inherit need for the `LocalSpanMap` to have an
associated `source_id`. Instead, we can pass it in when we sync
the `LocalSpanMap` with the `SpanMap`.
@feds01 feds01 self-assigned this Dec 20, 2024
@feds01 feds01 merged commit 3d45d67 into main Dec 22, 2024
1 check passed
@feds01 feds01 deleted the parsing-ty-args branch December 22, 2024 18:06
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