Skip to content

Support MESSAGE_TYPE in MessageType.equals#729

Merged
timostamm merged 3 commits intomainfrom
Support-MESSAGE_TYPE-in-MessageType.equals
Jul 23, 2025
Merged

Support MESSAGE_TYPE in MessageType.equals#729
timostamm merged 3 commits intomainfrom
Support-MESSAGE_TYPE-in-MessageType.equals

Conversation

@timostamm
Copy link
Owner

Similar to #728, this adds support for the MESSAGE_TYPE symbol property, added by create() since v2.0.3. See #147 for context.

With this PR, MessageType.equals respects the MESSAGE_TYPE property: If either of both provided messages do not match the expected type, it returns false. Note that the added strictness can be considered a breaking change, same as with #728.

@timostamm timostamm changed the title Support message type in message type.equals Support MESSAGE_TYPE in MessageType.equals Jul 15, 2025
@timostamm timostamm merged commit be8a0cc into main Jul 23, 2025
3 checks passed
@timostamm timostamm deleted the Support-MESSAGE_TYPE-in-MessageType.equals branch July 23, 2025 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments