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

Nullable items can't be compared with non-nullable items. #855

Closed
quadrupleslap opened this Issue Apr 11, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@quadrupleslap

quadrupleslap commented Apr 11, 2017

For example, field_a.eq(field_b) fails to compile when field_a is a Nullable<BigInt> and field_b is a BigInt.

@quadrupleslap

This comment has been minimized.

quadrupleslap commented Apr 11, 2017

Welp, never mind, there's a nullable method in ExpressionMethods that does exactly what's needed. But it'd be nice if this was somehow implicit, or easier to figure out.

@sgrif

This comment has been minimized.

Member

sgrif commented Apr 12, 2017

As you mentioned, the nullable method is intended for this purpose.

@sgrif sgrif closed this Apr 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment