Daniel (dB.) Doubrovkine
Daniel (dB.) Doubrovkine
Try to turn this into a spec, could be a bug.
Don't see anything wrong from the top of my head. Start by adding some code to see what's being parsed out of the JSON parser?
@darren987469 another one? :)
Interesting. _Update: I misunderstood the problem originally, updated my thoughts below_. Try calling `MyAPI.compile`, that [returns](https://github.com/ruby-grape/grape/blob/02d7113d09eb9fcb4264c841d1fdd305e3e8adb5/lib/grape/api/instance.rb#L51) and instance, while `compile!` ensures an instance on first call, but doesn't return it....
We should get this test merged after a passing build. Want to clean it up @ysv?
Appreciate a PR to fix the docs, thanks.
At the very least I would say that the regression is not expected. Do you think you could turn this spec into one in the Grape project that was succeeding...
I am a little worried that we introduced a regression, then fixed it, but still don't have specs for this. I don't see anything in CHANGELOG that says something like...
my question was also whether it matters if we put `Hash` in `requires :bar, type: Array do`, so whether we need to have this test try both Hash and Array?
@stanhu want to finish this?