-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generated serialization for field named with hot keywords #848
Comments
good find. thanks for the report. |
class
We'd need to either copy KotlinPoet's |
Latest snapshot has some improvements on that point, make sure you use |
Will try it out! |
Confirmed this works on the latest version of kotlinpoet. We'll update to that before the release |
Do we have an ETA for the next stable release? I'm just asking as this is blocking us on Yelp/swagger-gradle-codegen#62 |
When it's ready!
…On Wed, Sep 18, 2019 at 12:00 PM Nicola Corti ***@***.***> wrote:
Confirmed this works on the latest version of kotlinpoet. We'll update to
that before the release
Do we have an ETA for the next stable release? I'm just asking as this is
blocking us on Yelp/swagger-gradle-codegen#62
<Yelp/swagger-gradle-codegen#62>
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#848?email_source=notifications&email_token=AAKMJPQ63NIT7FF63S56IRDQKJGDDA5CNFSM4HL5M27KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7ASLYQ#issuecomment-532751842>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAKMJPSEMIFL457NMZ3ABY3QKJGDDANCNFSM4HL5M27A>
.
|
I use
class
as response field. In kotlin:When using moshi to generate adapter code, it's not 'blocking/escaping' that field in
toJson
method:I worked it around by using
Json
annotation and different name for the field, but I think this is a bug that might be worth fixing.The text was updated successfully, but these errors were encountered: