ardielle-tools
ardielle-tools copied to clipboard
Go: Bad codegen when using colliding method + type APIs
Use case:
I had a resource resource Foo GET /bar/baz. I also want resource Foo Get /something/else (for backwards compatibility).
To do that I name one of the resources different from the generated name. Problem is that schema stills has 2 variables named mGetFoo and does not compile. The member variables in the schema should be named using the resource name if available and not always use the generated name.