spring-cloud / spring-cloud-schema-registry

A schema registry implementation for Spring Cloud Stream
47 stars 27 forks source link

[GH-48] rely on schema from response #49

Open nhomble opened 4 years ago

nhomble commented 4 years ago

Given the current usage, SchemaRegistrationResponse does more than just return the server response. Since we handle returning the latest version, I propose we reuse the same object for returning the corresponding schema (or pass through if unchanged).

Not sure where the best place is for testing this bit of code since it probably makes the most sense in a test against the confluent schema registry.