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

Detects when a MemberExpression returns null and adjusts it as a ConstantExpression #38

Merged

Commits on Mar 5, 2014

  1. Detects when a MemberExpression returns null and adjusts it as a Cons…

    …tantExpression
    
    Neo4j doesn't consider null as valid values for PropertyBags
    (relationships and nodes).
    Neo4jClient could have a MemberExpression in a Where() construct and it
    could detect it if was in reality a ConstantExpression, however it just
    sends the value as parameter regardless if it's a null value.
    
    This commit fixes that by having the same behavior that occurs in
    VisitConstant(ConstantExpression) if it detects a null value.
    arturosevilla committed Mar 5, 2014
    Configuration menu
    Copy the full SHA
    38868f3 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2014

  1. Added unit tests for CypherWhereExpressionVisitor.VisitConstantMember()

    The unit tests from the last commit was moved from the
    CypherFluentQueryWhereTests to CypherWhereExpressionBuilderTests and added
    three more unit tests for all logic branches within this method.
    arturosevilla committed Mar 6, 2014
    Configuration menu
    Copy the full SHA
    1726e71 View commit details
    Browse the repository at this point in the history