borinquenkid commented on PR #16836:
URL: https://github.com/apache/grails-core/pull/16836#issuecomment-6699374691

   @jamesfredley Fixed in 1da133abb3, on top of 4271678872. You were right, and 
it was wider than the block: `eq` and the other comparisons (`ne`, `gt`, ...) 
on an association formatted the identity of the node they reach with the id 
mapping of the entity that owns the association. With a snowflake id on 
`Customer` and a native id on `Account`, the comparison looked for `__id__` on 
an `Account` node and matched nothing, inside `customer { eq('account', 
account) }` and on `Customer` itself. Both handlers now use the identity of the 
associated entity.
   
   `NestedAssociationIdentitySpec` has the three cases (`eq` in the block, `ne` 
in the block, `eq` on the entity itself) with a snowflake `Customer`, a native 
`Account` and an `Order`. All three fail without the change. The Neo4j core 
suite and `codeStyle` pass.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to