-
Notifications
You must be signed in to change notification settings - Fork 0
FUND-423 バリエーション対応したAPIに関する説明を追記 #28
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
Conversation
| + quantity_auto_conversion_by_unit_name: `箱` (string) - 単位換算後の単位名 | ||
| + quantity_auto_conversion_by_unit_factor: `12` (string) - 単位換算係数 | ||
|
|
||
| ### InventoryCreateParams(InventoryUpdateParams) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
メモ)在庫データの新規作成と更新のパラメータはもともと同じ定義(InventoryCreateParams)を参照してました。今回新規作成のほうだけバリエーションに対応しているので、共通部分はInventoryUpdateParamsとして、InventoryCreateParamsは共通部分を継承しつつ、バリエーションのパラメータを個別に追加する形式にしました。
|
|
||
| ### InventoriesIndexViews(InventoriesViews) | ||
|
|
||
| ### InventoriesShowViews(InventoriesViews) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
メモ)在庫データの一覧取得と個別取得でもともと同じ定義(InventoriesViews)を参照してました。今回両方にバリエーション設定項目のデータを追加しています。また、個別取得のほうにはバリエーション一覧のデータも追加しています。共通部分はInventoriesViewsとして、一覧取得をInventoriesIndexViews、個別取得をInventoriesShowViewsとしました。
| font-size: 12px; | ||
| font-weight: normal; | ||
| } | ||
| </style> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

背景・課題
Jira: https://zaicozaico.atlassian.net/browse/FUND-423
いくつかの公開APIをバリエーションに対応させたので、それらに関する説明を追記しています。
対象API
関連
対応概要
UI変更
その他