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

Validation fails when EnumMemberExpression exists in model #70

Closed
karataliu opened this issue Feb 10, 2015 · 2 comments
Closed

Validation fails when EnumMemberExpression exists in model #70

karataliu opened this issue Feb 10, 2015 · 2 comments
Labels

Comments

@karataliu
Copy link
Contributor

For any model with EnumMemberExpression, the validation would fail with ExpressionNotValidForTheAssertedType error code.

This is because ExpressionTypeChecker.TryCast does not support enum expression kind.

@karataliu karataliu changed the title EnumMemberExpression Validation failure Validation fails when EnumMemberExpression exists in model Feb 10, 2015
@congysu congysu added this to the 6.11.0 milestone Mar 3, 2015
@karataliu
Copy link
Contributor Author

There's no validation for EnumMemberExperssion before. New validation message required.

@karataliu karataliu modified the milestones: 6.12 or Later, 6.11.0 Mar 31, 2015
@congysu congysu modified the milestones: 6.14, 6.12 Jul 24, 2015
@congysu congysu assigned challenh and unassigned karataliu Jul 24, 2015
@LianwMS LianwMS modified the milestones: 6.14, 6.15 Dec 21, 2015
@LaylaLiu LaylaLiu modified the milestone: 6.15 Mar 18, 2016
@LaylaLiu LaylaLiu removed the EdmLib label Mar 21, 2016
@mikepizzo mikepizzo added the P3 label Jun 9, 2017
@xuzhg
Copy link
Member

xuzhg commented Oct 19, 2018

Same as #1028.
Fixed in PR: #1031
Thanks.

@xuzhg xuzhg closed this as completed Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants