dry-rb / dry-web-roda

Roda integration for dry-web apps
MIT License
119 stars 22 forks source link

Add multiple verbs in web generators #88

Closed waiting-for-dev closed 5 years ago

waiting-for-dev commented 5 years ago

I think it is a sensible default for modern REST applications. Don't you agree?

gotar commented 5 years ago

depend I'm using it now to write GraphQL API, and only endpoint I need is single POST

waiting-for-dev commented 5 years ago

Hmm... true... But looking at what is already present in the generators, I think dry-web-roda tries to create a common use case configuration from where you can remove elements, instead of a minimal configuration from which you can build upon.

For example, Rack::Sessions is enabled even if it will be removed in a lot of cases.

parndt commented 5 years ago

I'd be in favour of this. As someone new to it, I was pretty confused why PUT/PATCH weren't working :wink:

timriley commented 5 years ago

Thanks @waiting-for-dev :)