Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Servers must reject
{}
when deserializing a union
Once we're inside of a `{}` JSON object, a known union variant must be provided. Servers must not accept `{}` as "the union shape was not set" when the union shape is optional (which was the behavior in smithy-rs prior to smithy-lang/smithy-rs#3481). This commit adds a protocol test to pin this behavior.
- Loading branch information