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

Block at compile time invalid arguments to Distinct #2857

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

CarlosFigueiraMSFT
Copy link
Contributor

The Distinct function only works for primitive values, but currently this error only happens at runtime. This PR adds a compile-time check to ensure that only primitive values are passed to the Distinct function. The check is done under the PFxV1 flag, since this currently works in Power Apps (although there are many bugs on the implementation).

@LucGenetier
Copy link
Contributor

✅ No public API change.

@LucGenetier
Copy link
Contributor

✅ No public API change.

@CarlosFigueiraMSFT CarlosFigueiraMSFT marked this pull request as ready for review February 28, 2025 23:12
@CarlosFigueiraMSFT CarlosFigueiraMSFT requested a review from a team as a code owner February 28, 2025 23:12
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