-
-
Notifications
You must be signed in to change notification settings - Fork 578
Handle multiple types for resources #389
Comments
I like that. Maybe we could have a |
@markbates, I've pushed a new branch about this: https://github.com/gobuffalo/buffalo/tree/389-auto-resources I think it's almost done, but I'm struggling with something:
What's your opinion on this? |
@markbates, I still need your input on this one. :) |
@stanislas-m I wonder if this should be done here https://github.com/gobuffalo/x/tree/master/responder thoughts? |
@markbates, sure! I'll take a look on this. :) |
Hi! This is closed, right? |
It’s actually still open. I forgot all about this idea. It’s not the same as the resource generator. The idea is that you could do something like It’s a great idea I would love to revisit. |
If it's ok I will have a look, maybe I can handle this ^^ I'm not a buffalo or golang expert, but it seems not so difficult to me - I will be wrong for sure. I would like to contribute. ps: I worked a lot with goa.design in the past, maybe could be useful to someone else for something else... |
Please! I’d love to see someone take the reigns. |
added support for RSA, ECDSA, RSAPSS Handle multiple types for resources fixes gobuffalo#389 (gobuffalo#919) * wip r.Interface * renamed render.Interface to render.Auto * cleaned up tests for auto * Handle multiple types for resources fixes gobuffalo#389 * removed a few unneeded lines in the generated resource code * fixed broken test Fix Bazaar VCS behavior (gobuffalo#923) * Normalized keep files like in Rails (empty .gitignore => .keep) * Moved VCS as a meta app info. * Ensure Git & Bazaar are quiet on app creation. * Ensure .gitignore files are properly named for Bazaar (.bzrignore, see gobuffalo#901). Fixing the godoc for mount Code in go doc comments has to be indented for it to show up pre-formatted on godoc.org removed the unneeded willie dep that was causing travis to break Set default sign method to HMAC and added some docs Add Buffalo logo to the README (gobuffalo#926) this makes r.Auto work with paths such as /admin/users not just /users added GetKey func to Options for enabling user to extend their own implementation of getting key, moved test certs from data/ to test_certs/ added jwt.SigningMehod parameter in GetKey in Options struct reduces inlined css used in the error page show the headers on the error page webpack/style_regex: change regex to catch both .sass and .scss file extensions webpack/style_regex: Apply change to asset glob pattern
* wip r.Interface * renamed render.Interface to render.Auto * cleaned up tests for auto * Handle multiple types for resources fixes #389 * removed a few unneeded lines in the generated resource code * fixed broken test * wip moving to gobuffalo/pop * updated a dep * wip r.Interface * renamed render.Interface to render.Auto * cleaned up tests for auto * wip moving to gobuffalo/pop * Handle multiple types for resources fixes #389 * updated a dep * remove the unneeded go get willie call * Added a command to upgrade v0.10.3 to v0.11.0 * added updating of buffalo project dependencies * improved the updater to work a bit better
XML, JSON... why not both? :)
This mean we should find a way to discriminate rendering. Maybe we can suffix the url (with .xml or .json), or use Content-Type HTTP header.
The text was updated successfully, but these errors were encountered: