Skip to content

fix: Enable #[serde(remote = "..")] support - #564

Merged
Kriskras99 merged 2 commits into
mainfrom
fix/remote
Jun 23, 2026
Merged

Kriskras99 merged 2 commits into
mainfrom
fix/remote

Conversation

@Kriskras99

Copy link
Copy Markdown
Contributor

Remote just works, doesn't need any changes.

I have added a test to show how it works.

@Kriskras99

Copy link
Copy Markdown
Contributor Author

One thing that can improve this functionality is getting the name from the remote attribute (in the test the name of the schema will now be DurationDef instead of Duration)

Comment thread avro_derive/src/attributes/serde.rs Resolved
Comment thread avro_derive/tests/serde.rs Resolved
@Kriskras99
Kriskras99 merged commit 7349015 into main Jun 23, 2026
13 checks passed
@Kriskras99
Kriskras99 deleted the fix/remote branch June 23, 2026 19:04
@Kriskras99 Kriskras99 mentioned this pull request Jun 28, 2026
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