Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add avro_schema_nested field to schema_registry_decode / encode #90

Conversation

jem-davies
Copy link
Collaborator

No description provided.

Signed-off-by: Jem Davies <jemsot@gmail.com>
Signed-off-by: Jem Davies <jemsot@gmail.com>
Signed-off-by: Jem Davies <jemsot@gmail.com>
Signed-off-by: Jem Davies <jemsot@gmail.com>
Signed-off-by: Jem Davies <jemsot@gmail.com>
@jem-davies jem-davies changed the title fix func resolveAvroReferences() Add avro_schema_nested field to schema_registry_decode / encode Aug 11, 2024
@jem-davies jem-davies marked this pull request as ready for review August 11, 2024 15:25
Copy link
Collaborator Author

@jem-davies jem-davies left a comment

Choose a reason for hiding this comment

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

reminder to update version numbers

Signed-off-by: Jem Davies <jemsot@gmail.com>
Signed-off-by: Jem Davies <jemsot@gmail.com>
Copy link
Collaborator

@gregfurman gregfurman left a comment

Choose a reason for hiding this comment

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

Ran all the tests locally and seems to work. If possible, maybe some more context on the solution would be great. Otherwise, 1-2 small nits and a question re: that while loop when resolving nested references.

internal/impl/confluent/serde_avro_test.go Outdated Show resolved Hide resolved
internal/impl/confluent/serde_avro.go Show resolved Hide resolved
internal/impl/confluent/serde_avro.go Outdated Show resolved Hide resolved
Signed-off-by: Jem Davies <jemsot@gmail.com>
…est, where there is a circular dep.

Signed-off-by: Jem Davies <jemsot@gmail.com>
Signed-off-by: Jem Davies <jemsot@gmail.com>
Signed-off-by: Jem Davies <jemsot@gmail.com>
Signed-off-by: Jem Davies <jemsot@gmail.com>
Copy link
Collaborator

@gregfurman gregfurman left a comment

Choose a reason for hiding this comment

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

LGTM 🫡

@jem-davies jem-davies merged commit 63c8e61 into main Aug 20, 2024
3 checks passed
@jem-davies jem-davies deleted the 76-schema_registry_decode-fails-to-handle-avro-schemas-that-nest-other-avro-schemas branch August 20, 2024 21:02
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.

schema_registry_decode fails to handle Avro schemas that nest other Avro schemas
2 participants