Skip to content

Conversation

alexkharuk
Copy link
Contributor

@alexkharuk alexkharuk commented Jul 25, 2025

Fx the bug/typo with comparing for LessThenRule with two parameters

Description

LessThenRule
JsonNode? IRule.Apply(JsonNode? args, EvaluationContext context) method
comparing two equals strings returns true, but should be false

Links

916

Checks

@gregsdennis
Copy link
Collaborator

@alexkharuk why open another project with the same change? The tests still need to be addressed.

@alexkharuk
Copy link
Contributor Author

@gregsdennis sorry i was under impression that all are ok.
i have recreated this mr but still see the same error: Error: HttpError: Resource not accessible by integration
it looks to me that i do not have some permissions or missed something and can pass test report step.
anyway all business logic tests looks good and green

@gregsdennis
Copy link
Collaborator

Oh, yes, sorry. I thought the tests were failing. It's just a permissions issue with paying back to the PR.

It's odd that the tests weren't failing before.

@alexkharuk
Copy link
Contributor Author

@gregsdennis let me know if i can do anything to push it over

@alexkharuk
Copy link
Contributor Author

@dotnet-policy-service agree

@alexkharuk
Copy link
Contributor Author

I have added two test cases to the more-tests.json

@alexkharuk
Copy link
Contributor Author

@gregsdennis it looks like comparison of strings never was fully covered with the tests. I have added few more tests, hope you do not mind.

@gregsdennis
Copy link
Collaborator

gregsdennis commented Aug 2, 2025

@alexkharuk please update the patch version (5.4.1) in the project file and release notes. Feel free to credit yourself in the notes. Then I can merge this and it will publish the update.

@alexkharuk
Copy link
Contributor Author

@gregsdennis I have updated version and release notes.

@gregsdennis gregsdennis merged commit 0bd69f3 into json-everything:master Aug 5, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants