srclient
srclient copied to clipboard
Missing field in GetSchema
Hi,
I think References
field must be included when constructing the Schema
which is fetched using a schema ID
https://github.com/riferrei/srclient/blob/master/schemaRegistryClient.go#L226
Also I checked with the confluent's schema registry, and it does return the references for the request /schemas/ids/%s
This is a trivial addition, but I want to combine this feature with a test suite I'm workıng on for this library on Github Actions. I don't have a reliable way to test this immediately, if someone can verify the one line change has no bugs for when there are no references, please let me know.
Resolved in #89