Skip to content

feat: Namespace for named types defined by this library - #558

Merged
Kriskras99 merged 1 commit into
mainfrom
feat/namespace_for_named_types
Jun 18, 2026
Merged

Kriskras99 merged 1 commit into
mainfrom
feat/namespace_for_named_types

Conversation

@Kriskras99

Copy link
Copy Markdown
Contributor

While working on the enum generation I realised it would be useful to put the Avro types we define into their own namespace. This allows users to use their own Duration/u64/... types and we are free to implement AvroSchema for more Rust types if we're inclined to do so without breaking user code (unless they use the org.apache.avro.rust namespace but then it's their own problem).

Comment thread avro/src/serde/ser_schema/union.rs Resolved
Comment thread avro/src/serde/ser_schema/union.rs Resolved
Comment thread avro/src/serde/ser_schema/union.rs Resolved
@Kriskras99
Kriskras99 force-pushed the feat/namespace_for_named_types branch from 51aa528 to cabde71 Compare June 18, 2026 06:47
@Kriskras99
Kriskras99 merged commit cd74a9f into main Jun 18, 2026
13 checks passed
@Kriskras99
Kriskras99 deleted the feat/namespace_for_named_types branch June 18, 2026 06:53
@martin-g martin-g added this to the 0.22.0 milestone Jun 21, 2026
@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