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

pkg/sr: use ptr type for SchemaMetadata and SchemaRuleSet #577

Merged
merged 2 commits into from
Sep 21, 2023

Conversation

shubham030
Copy link
Contributor

omitempty doesn't work for structs, as a result, the schema contains zero value of SchemaMetadata and SchemaRuleSet which fails to create the schema on redpanda.

https://pkg.go.dev/encoding/json#Marshal

pkg/sr/api.go Outdated Show resolved Hide resolved
@twmb twmb merged commit c9d2351 into twmb:master Sep 21, 2023
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