Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sources: remove newlines from inferredSchemaIsNotAvailable
The sentinel schema that's used when the inferred schema is not available contained newline characters, which make their way into the connector protocols. This breaks some connectors, which expect each message to be on its own line, since the schema value in, for example, a `Validate` request could contain newlines. This changes the handling of that sentinel schema to use plain `serde_json::Value`s instead of `RawValue`s, so that re-encoding it as JSON will cause the newlines to be removed.
- Loading branch information