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

Add specific error case for . operator on polymorphic types #2452

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

Conversation

lesaltzm
Copy link
Contributor

@lesaltzm lesaltzm commented Jun 3, 2024

No description provided.

@lesaltzm lesaltzm requested a review from a team as a code owner June 3, 2024 16:04
@@ -1866,6 +1866,10 @@
<value>The '.' operator cannot be used on {0} values.</value>
<comment>Error Message. Error that occurs when you use the `.` operator on a type that doesn't support it. {0} is populated by a type name (e.g. Number, Text, Boolean). The operator (.) is not translated, should be the same character ('full stop', \u002E, decimal code 46) in all languages.</comment>
</data>
<data name="ErrInvalidDotOnPolymorphic" xml:space="preserve">
<value>The '.' operator cannot be used directly on Polymorphic lookups. Try using the AsType function to specify the type to treat it as.</value>
Copy link
Contributor

Choose a reason for hiding this comment

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

Polymorphic

polymorphic (lower case). This is not a proper name

Copy link
Contributor

@CarlosFigueiraMSFT CarlosFigueiraMSFT left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link
Contributor

@CarlosFigueiraMSFT CarlosFigueiraMSFT left a comment

Choose a reason for hiding this comment

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

:shipit:

@LucGenetier
Copy link
Contributor

✅ No public API change.

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.

3 participants