Uh oh!
There was an error while loading. Please reload this page.
[dart-dio] Fixes enum by setting the wireName to the correct value - #4708
Conversation
nickmeinhold
commented
Dec 5, 2019
I haven't worked on this stuff for a while, when I made a generator that used built_value I vaguely remember having to mess around with using value vs name for the wirename and digging into the java to understand the difference but I've forgotten it all now so I'm not much use here sorry. I'm sure you know what you're doing. I can't finish without saying something about tests. There, said it. |
josh-burton
commented
Dec 5, 2019
I'm pretty sure In my case the values are returned from the api like |
nickmeinhold
commented
Dec 5, 2019
Ah right, that’s sounding familiar now, thanks for the explanation. |
PR checklist
./bin/(or Windows batch scripts under.\bin\windows) to update Petstore samples related to your fix. This is important, as CI jobs will verify all generator outputs of your HEAD commit, and these must match the expectations made by your contribution. You only need to run./bin/{LANG}-petstore.sh,./bin/openapi3/{LANG}-petstore.shif updating the code or mustache templates for a language ({LANG}) (e.g. php, ruby, python, etc).master,4.3.x,5.0.x. Default:master.CC @ircecho @swipesight @jaumard@nickmeinhold