Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error When Using Comparison Operators Between Untyped Objects #2668

Open
gekarapa opened this issue Oct 3, 2024 · 1 comment
Open

Error When Using Comparison Operators Between Untyped Objects #2668

gekarapa opened this issue Oct 3, 2024 · 1 comment
Assignees
Labels
MS_PAD Power Automate Desktop issues

Comments

@gekarapa
Copy link

gekarapa commented Oct 3, 2024

When applying comparison operators (e.g., =, <>) between two untyped objects, a check error is returned.

@gekarapa gekarapa added the MS_PAD Power Automate Desktop issues label Oct 3, 2024
@MikeStall
Copy link
Contributor

This is intentional. Ideally, we want to steer away from untyped and towards stronger typing.

Don't say:
U1 < U2

Instead say:
Value(U1) < Value(U2)

We will coerce if one of the args is known.
U1 < N1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MS_PAD Power Automate Desktop issues
Projects
None yet
Development

No branches or pull requests

3 participants