zalando / nakadi

A distributed event bus that implements a RESTful API abstraction on top of Kafka-like queues
https://nakadi.io
MIT License
958 stars 292 forks source link

Fix incorrect schema validation during compatible mode #1429

Closed samizzy closed 2 years ago

samizzy commented 2 years ago

One-line summary

Internal ticket no: 1146

Description

Due to a recent change, schema validation was being perfomed on effective schema accidentally. This change fixes the effectiveSchema() method so that it does not mutate input parameters.

a1exsh commented 2 years ago

:+1:

a1exsh commented 2 years ago

:+1:

samizzy commented 2 years ago

:+1: