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

Support pre registered schemas #58

Merged
merged 5 commits into from
Apr 26, 2020
Merged

Conversation

Nevon
Copy link
Member

@Nevon Nevon commented Apr 12, 2020

This adds the method getRegistryIdBySchema to fetch a registry id for a pre-registered schema. If the subject or schema does not exist in the registry, it throws an error.

I haven't documented it, because then I'll get a conflict with my other PR. I can add it later when they are merged.

Fixes #56

This adds the method `getRegistryIdBySchema` to fetch a registry id
for a pre-registered schema. If the subject or schema does not exist
in the registry, it throws an error.

Fixes #56
Copy link
Collaborator

@erikengervall erikengervall left a comment

Choose a reason for hiding this comment

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

👍

@@ -38,6 +38,7 @@ export type SchemaRegistryAPIClient = Client<{
config: (_: any) => any
updateConfig: (_: any) => any
register: (_: any) => any
registered: (_: any) => any
Copy link
Collaborator

Choose a reason for hiding this comment

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

I cry a bit inside every time I see this 😅At least it's not exposed to the user 🤷

@Nevon Nevon merged commit 3870c21 into master Apr 26, 2020
@Nevon Nevon deleted the support-pre-registered-schemas branch April 26, 2020 14:50
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.

Support pre-registered schemas
2 participants