Replies: 4 comments
-
Hey, I really like the look of this gem, thanks! One thing I'd like to see with the structure of the gem is some more separation between the middlewares/router and the underlying logic. Ideally I'd like a simple API that I can pass a request/response to and have it raise exceptions for invalid responses so I can easily build my own middleware. See #140 for a bit more detail. Thanks :) |
Beta Was this translation helpful? Give feedback.
-
Hi! Thanks for creating this gem! I have pretty similar feedback. Having ready-to-use middleware is really nice but it comes with some limitations. I would prefer to have the option of directly using the validation as described here (#140 (comment)). I would be happy to contribute if you'd be willing to go that direction :) |
Beta Was this translation helpful? Give feedback.
-
Hi @MrBananaLord, if people think that use case is useful in their situation I am happy to support that. Instead of raising an exception by default I would rather return a |
Beta Was this translation helpful? Give feedback.
-
Thanks for your feedback on this. Here is another discussion that is related to what has been said here. #221 I would love to get your feedback. |
Beta Was this translation helpful? Give feedback.
-
I am wondering if anyone is using this and what they like and dislike about this tool. I have some ideas what to change, but I'd like to hear from people outside. Feel free to create issues or reply here.
Beta Was this translation helpful? Give feedback.
All reactions