feat(generator): add support for iso_datetime logical type#97
Closed
xpepper wants to merge 1 commit intolerouxrgd:masterfrom
Closed
feat(generator): add support for iso_datetime logical type#97xpepper wants to merge 1 commit intolerouxrgd:masterfrom
iso_datetime logical type#97xpepper wants to merge 1 commit intolerouxrgd:masterfrom
Conversation
iso_datetime logical type
Introduces detection and code generation for fields annotated with `logicalType: "iso_datetime"` in Avro schemas. - Scan raw JSON before apache-avro parsing (which drops unknown logical types) to collect (record name, field name) pairs tagged as iso_datetime - Pass the collected set through gen_in_order into GenState so the templater can emit the appropriate Rust type - Add iso_datetime.avsc / iso_datetime_plain.avsc test schemas and corresponding generation/serde tests - Add order_created.avsc as a realistic multi-field example combining iso_datetime with uuid, nested records, enums, and optional fields
6776924 to
7751b54
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces detection and code generation for fields annotated with
logicalType: "iso_datetime"in Avro schemas.