Closed dlubitz closed 2 months ago
Just wondering, this is obviously wrong but we need both, right? you could have q(node).property('_depth_)
as well as node._depth
or do we cover that elsewhere?
We have always two cases: node.depth
and also q(node).property('depth')
The code was already trying to handle that, but unfortunatelly, the regex we used was missing the q(...)
part, so we tried to replace all node.property(...)
which is actally not valid.
Thanks for your input @kdambekalns. I've changed it.
Also fixed existing and added missing tests.