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

chore(api): round trip field id #320

Merged
merged 2 commits into from
Oct 4, 2024
Merged

chore(api): round trip field id #320

merged 2 commits into from
Oct 4, 2024

Conversation

joe-prosser
Copy link
Contributor

No description provided.

@joe-prosser joe-prosser self-assigned this Oct 1, 2024
#[derive(Debug, Clone, PartialEq, Deserialize, Serialize, Eq)]
pub struct NewEntityWithSpans {
pub name: EntityName,
pub formatted_value: String,
pub field_id: FieldId,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also add it to NewEntityWithSpan for the legacy cases no? And what about the non-new one, like Entity? actually I see that Entity doesn't support the legacy span case either...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Entity doesn't support the legacy span case either...

I think I'll address this in a separate PR

We should also add it to NewEntityWithSpan for the legacy cases no?

Yep, good spot!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'll address this in a separate PR

yeah that's totally fair, it's just a bit sad to see the state we left the cli in 😬 thanks for cleaning up the mess

@joe-prosser joe-prosser requested a review from AWilcke October 4, 2024 14:44
Copy link
Contributor

@AWilcke AWilcke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🧹

#[derive(Debug, Clone, PartialEq, Deserialize, Serialize, Eq)]
pub struct NewEntityWithSpans {
pub name: EntityName,
pub formatted_value: String,
pub field_id: FieldId,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'll address this in a separate PR

yeah that's totally fair, it's just a bit sad to see the state we left the cli in 😬 thanks for cleaning up the mess

@joe-prosser joe-prosser merged commit 5adb7aa into master Oct 4, 2024
2 checks passed
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