Hi, a little while a go I found some odd behaviour in the Neo4j OGM, and raised an issue there: https://github.com/neo4j/neo4j-ogm/issues/643 this led the developer there to post this into twitter https://twitter.com/rotnroll666/status/1146316196876378112
Basically if you use isEnum to check if something is an enum it might not always do what you expect, specifically in the case when the enum has an instance method then isEnum is false.
I had a look, but didn’t see a rule for this currently, would it be a useful thing to catch/flag? Seems its caught out a few projects from the twitter. Hopefully the commit that was used to fix the issue in the Neo4j OGM project provides guidance on what the code should be.