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

feat: fetch schema from schema-regsitry by schema string #308

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rroesch1
Copy link

@rroesch1 rroesch1 commented Oct 9, 2024

  • enable users to lookup the schema id for a given schema string

@mostafa
Copy link
Owner

mostafa commented Oct 9, 2024

Hey @rroesch1,

Thanks for your contribution! Can you please add a JS script to the examples to test all these cases and add some Go tests?

@mostafa mostafa self-requested a review October 9, 2024 14:56
* enable users to lookup the schema id for a given schema string
Copy link

sonarcloud bot commented Oct 9, 2024

"schemaType": srclient.Avro,
},
),
},
}).Export().(*Schema)
assert.Equal(t, "test-subject", newSchema.Subject)
assert.Equal(t, 0, newSchema.Version)
Copy link
Author

Choose a reason for hiding this comment

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

fyi: the first version of a schema should have the version 1 (not 0)

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