Skip to content

Add float type support for field comparison operations#104

Open
Bomfanti wants to merge 1 commit intoopencodeco:mainfrom
Bomfanti:main
Open

Add float type support for field comparison operations#104
Bomfanti wants to merge 1 commit intoopencodeco:mainfrom
Bomfanti:main

Conversation

@Bomfanti
Copy link
Contributor

Closes #79

Description

This PR adds support for float types (float32 and float64) to field comparison operations in the validation framework, extending the existing functionality to handle numeric comparisons between float fields.

  • Updated internal/analyzer/operations_list.go to include <FLOAT> as a valid type for field comparison operations:
    • eqfield
    • neqfield
    • gtefield
    • gtfield
    • ltefield
    • ltfield

@Bomfanti
Copy link
Contributor Author

@alexgarzao Could you review this PR? Also I didnt touch any of the end to end tests

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.

Implement support for fields operations with float types

1 participant