Skip to content

Conversation

@erdtsieck
Copy link
Contributor

@erdtsieck erdtsieck commented Feb 7, 2026

Add a test for Distinct on nullable enums serialized as strings. Refactor NewScalarSelectClause to centralize scalar reading into ReadScalar/ReadScalarAsync, simplify null checks, and add handling for enums stored as strings (Enum.Parse) or as integers, for both sync and async paths. Also remove the #nullable enable directive at the top of the file.

Add a test for Distinct on nullable enums serialized as strings (System.Text.Json) and include Weasel.Core using. Refactor NewScalarSelectClause to centralize scalar reading into ReadScalar/ReadScalarAsync, simplify null checks, and add handling for enums stored as strings (Enum.Parse) or as integers, for both sync and async paths. Also remove the #nullable enable directive at the top of the file.
@jeremydmiller jeremydmiller merged commit 7512135 into JasperFx:master Feb 8, 2026
6 checks passed
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.

2 participants