Skip to content
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

[fix] データクラスの変数名の修正 #128

Open
yuhei-yama opened this issue Oct 30, 2023 · 0 comments
Open

[fix] データクラスの変数名の修正 #128

yuhei-yama opened this issue Oct 30, 2023 · 0 comments
Assignees
Labels
優先度A This issue for α version bug Something isn't working

Comments

@yuhei-yama
Copy link
Contributor

不具合内容

  • データクラスの変数がスネークケースになっている.

不具合による影響

  • コーディングスタイル則っていないため,変数の扱いが大変になる.

意図する動作内容

  • 修正方法の欄に記載

不具合の原因

  • コーディングスタイルが統一されていない

修正方法

  • データクラスの定義において,SerializedNameアノテーションを付けて変数名を変更してください.
  • 以下は「user_description」を「userDescription」に変更する例
    @SerializedName("user_description") val userDescription: String,

関連するIssue

@yuhei-yama yuhei-yama added bug Something isn't working 優先度A This issue for α version labels Oct 30, 2023
@yuhei-yama yuhei-yama self-assigned this Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
優先度A This issue for α version bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant