Skip to content

Java SDK allows empty subject during deserialization #676

Description

@pnt

Hi,

Specification says that "subject" is optional but if present, must be non-empty.

Doing a simple test with structured or binary event delivery shows that this is not validated by the standard deserializers - the screenshot below shows how a test expecting a 400 Bad Request actually passes with 200 OK.
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions