Skip to content

Conversation

@jkmassel
Copy link
Contributor

Adds a test that validates attachment parsing and typed lookup for metadata.

@jkmassel jkmassel self-assigned this Oct 27, 2025
@jkmassel jkmassel enabled auto-merge (squash) October 27, 2025 22:45
pub enum AttachmentMetadataKey {
Width,
Height,
Other(String),
Copy link
Contributor

Choose a reason for hiding this comment

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

🤔 This variant should be marked as #[serde(untagged)], I think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right! Addressed (with tests) in 94fedd1

@jkmassel jkmassel requested a review from crazytonyli October 28, 2025 18:11
@jkmassel jkmassel merged commit 24bca97 into trunk Oct 28, 2025
22 checks passed
@jkmassel jkmassel deleted the add/attachment-dimensions-lookup branch October 28, 2025 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants