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

Disallow setting custom translation for DbFunction mapped to TVFs #20315

Merged
merged 1 commit into from
Mar 17, 2020

Conversation

smitpatel
Copy link
Member

Resolves #20163

@AndriySvyryd
Copy link
Member

Even if having a custom translation is less useful it's still valid in some scenarios. So instead of just throwing this should be a warning that defaults to throwing.

@AndriySvyryd
Copy link
Member

Or we can do that when we introduce a better API to set the translation.

@smitpatel
Copy link
Member Author

We don't use custom translation in query. (We cannot use it either till API is changed). So throwing is better than warning and then ignoring it.

@AndriySvyryd
Copy link
Member

Please avoid merging more than 2 PRs per 30 minutes to master

@smitpatel smitpatel merged commit 6f19f3d into master Mar 17, 2020
@smitpatel smitpatel deleted the smit/tvf branch March 17, 2020 18:30
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.

Disallow IDbFunction.HasTranslation when mapping the function to a TVF
2 participants