Skip to content

Conversation

@ddidgdimitrov-infragistics
Copy link
Contributor

RunSubquery method was not calling the GetMehod with correct generic type

QueryExecutor.cs Outdated
if (nonNullableType.IsEnum)
{
return Expression.Constant(Enum.Parse(nonNullableType, (string)value));
var enumValue = jsonVal.Deserialize<string>();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this work if it's a numeric value instead of a string enum key?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It wouldn't, fixed now.

@hanastasov hanastasov merged commit 50a9c2d into master Aug 6, 2025
1 check 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.

4 participants