Daniel (dB.) Doubrovkine

Results 3350 comments of Daniel (dB.) Doubrovkine

I think supporting superclass enums is a very desirable feature! Let's reopen this. Want to try and write some (failing) specs and maybe an implementation?

@aleksmsd Yes, this is likely a plan problem and yes both versions should be decodable. Add another test with the data you're seeing returned and help fix this?

@aleksmsd the important question is what does this API return in the different cases? then the result should match that.

> @dblock I think it's probably premature to add a test before discussing how it should actually be decoded. You can write a test of what the expectations are and...

Yes of course, please contribute @zachkamran!

Does subclassing `Grape::API` into `MyGrape::API < Grape::API`, using that everywhere and adding the hooks not work?

I am not against it. Generally globals are useful when authoring libraries that can be composed, and I can definitely see the use case that you provided as a valid...

[Catch All Triage - Attendees [1](https://github.com/dblock/), [2](https://github.com/krisfreedain), [3](https://github.com/andrross), [4](https://github.com/gkamat), [5](https://github.com/getsaurabh02)]

Catch All Triage - [1](https://github.com/dblock), [2](https://github.com/krisfreedain), [3](https://github.com/andrross), closing already released.

CI was fixed in https://github.com/ruby-grape/grape-swagger/pull/958, rebase please?