Closed vaughncm closed 6 years ago
Also we're noticing failures on Neo4j 6 builds in Travis but it's not related to anything we did seemingly. Neo4j 7 seems to be building fine. Any help would be appreciated. I know it's been ~9 months since any builds were run so I don't know if by chance something has changed on Travis or a dependency.
@cheerfulstoic updated this with master
and the builds are now ✅
Our team has noticed that in validating the
type
of property definition that if you have the following:if you try to verify the property type in the specs like so:
That it would be ✅ even though the
type
expected to be defined was not correct on the system under test (theModely
). We expect an error message that says:This was due to
Module
being inclusive on the verification previously which always included those types. In order to correct this we've added some additional logic to "constantize" thetype
that we are passing in to verify it against the actual type thatneo4jrb
uses for the model.The only caveat with the "constantize" is that
:Boolean
is a specialNeo4j::Shared::Boolean
type so we have to have a special case for that.