Added @Given the JSON node :node should be of type :type
Basically I want to check if a node is an array. But by writing it this way you can also check for string, integer and float.
+1 this is really useful if you don't want to validate the complete schema and also do not know the exact value of a node.
Can you add the corresponding behat test?
Yes sure, I will have a look at that this weekend.
LOL I guess someone couldn't wait for me. The exact same code is already in master with tests though.
Just setup everything and merged down master to discover this 👎
Oh well glad people are contributing to this great project 👍
Actually I was confusing my self haha. Rebuild the changes and pushed it.