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

APIレスポンスの""(から文字)をハンドリングする。 #33

Open
yamanetaisei opened this issue Feb 27, 2021 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@yamanetaisei
Copy link
Contributor

起こっている問題

recommended_urlnilでなく、""で返ってくるので、recommended_urlオプショナルで定義をしてしまっているために、無駄なnullチェックが入ってる

対応方針

  • recommend_urlのオプショナルではなく、普通の変数で定義
  • 値の有無はisEmptyで判定
@yamanetaisei yamanetaisei added the bug Something isn't working label Feb 27, 2021
@yamanetaisei yamanetaisei self-assigned this Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant