Open
Description
Link to repro in playground [here].
In SchemaRegistry, we want to the content type header to be a union of values. This does not compile when string
is added to the end of the union, and fails with:
contentType parameter must be a string literal or union of string literals
It works when string;
on line 66 of the playground link above is removed. However, it should work when string is added to the end. It also works when the header is renamed to something else, so it seems to be a bug with using the "Content-Type"
header specifically.
May be related to #2727