Skip to content

Conversation

@jjbayer
Copy link
Member

@jjbayer jjbayer commented Sep 16, 2025

See for example getsentry/relay#5144.

@vercel
Copy link

vercel bot commented Sep 16, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
develop-docs Ready Ready Preview Comment Sep 16, 2025 3:05pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
sentry-docs Ignored Ignored Sep 16, 2025 3:05pm

@jjbayer jjbayer marked this pull request as ready for review September 16, 2025 15:00
@jjbayer jjbayer requested a review from a team September 16, 2025 15:00
Comment on lines +27 to +28
/// Unknown color, for forward compatibility.
Unknown(String),
Copy link
Member

Choose a reason for hiding this comment

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

Sometimes we use #[serde(other)] Unknown, sometimes Unknown(String) and other times our derives have something builtin #[metastructure(fallback_variant)].

Seems to be quite use-case specific and hard to phrase :/.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes I looked at fallback_variant and it seems we only use it with Object. I guess the important part is that we have some sort of fallback such that parsing does not fail and the data is forwarded.

@jjbayer jjbayer merged commit 0e24920 into master Sep 19, 2025
12 checks passed
@jjbayer jjbayer deleted the jjbayer-patch-1 branch September 19, 2025 07:46
@github-actions github-actions bot locked and limited conversation to collaborators Oct 5, 2025
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.

5 participants