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

Query: allow user functions to be annotated with nullability propagation information #19609

Closed
maumar opened this issue Jan 16, 2020 · 1 comment · Fixed by #21777
Closed
Assignees
Labels
area-query closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. needs-design type-enhancement
Milestone

Comments

@maumar
Copy link
Contributor

maumar commented Jan 16, 2020

Related to #18555

We should allow users to specify nullability propagation info for their custom functions, so that we can generate better SQL when those functions are compared to null

@smitpatel
Copy link
Contributor

  • Add model level validation if user has not configured nullability information when there is no HasTranslation.

maumar added a commit that referenced this issue Jul 24, 2020
…ability propagation information

Added fluent API for function to specify it's nullability and function parameter to specify whether it propagates null. Also added property to DbFunction attribute to allow specify nullability there.
maumar added a commit that referenced this issue Jul 24, 2020
…ability propagation information

Added fluent API for function to specify it's nullability and function parameter to specify whether it propagates null. Also added property to DbFunction attribute to allow specify nullability there.
@maumar maumar added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Jul 24, 2020
maumar added a commit that referenced this issue Jul 24, 2020
…ability propagation information

Added fluent API for function to specify it's nullability and function parameter to specify whether it propagates null. Also added property to DbFunction attribute to allow specify nullability there.
maumar added a commit that referenced this issue Jul 25, 2020
…ability propagation information

Added fluent API for function to specify it's nullability and function parameter to specify whether it propagates null. Also added property to DbFunction attribute to allow specify nullability there.
maumar added a commit that referenced this issue Jul 27, 2020
…ability propagation information

Added fluent API for function to specify it's nullability and function parameter to specify whether it propagates null. Also added property to DbFunction attribute to allow specify nullability there.
maumar added a commit that referenced this issue Jul 27, 2020
…ability propagation information

Added fluent API for function to specify it's nullability and function parameter to specify whether it propagates null. Also added property to DbFunction attribute to allow specify nullability there.
maumar added a commit that referenced this issue Jul 27, 2020
…ability propagation information

Added fluent API for function to specify it's nullability and function parameter to specify whether it propagates null. Also added property to DbFunction attribute to allow specify nullability there.
maumar added a commit that referenced this issue Jul 27, 2020
…ability propagation information (#21777)

Added fluent API for function to specify it's nullability and function parameter to specify whether it propagates null. Also added property to DbFunction attribute to allow specify nullability there.
@ajcvickers ajcvickers modified the milestones: 5.0.0, 5.0.0-rc1 Aug 14, 2020
@ajcvickers ajcvickers modified the milestones: 5.0.0-rc1, 5.0.0 Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-query closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. needs-design type-enhancement
Projects
None yet
3 participants