Fix model generator for snake case on dart-jaguar client generator#1076
Conversation
There was a problem hiding this comment.
@jaumard thanks for the PR. I would suggest using {{{baseName}}} as {{baseName}} may escape special characters in HTML.
There was a problem hiding this comment.
But here we want them to be escaped anyway. It's should be plain text only as it's the name of the JSON field
There was a problem hiding this comment.
@jaumard We've encountered some edge cases before (e.g. JSON key is "student"). I don't think these occur very often but still prefer using {{{baseName}}} to make it consistent with other generators.
There was a problem hiding this comment.
No problem :) it's done ^^
|
@wing328 |
|
@jaumard ah ok. Thanks for the explanation. |
68afe75 to
1ec9654
Compare
No description provided.