質問編集履歴

1

フォーマットさせたいバリデーションエラーメッセージの階層を修正

2021/05/09 03:27

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -382,11 +382,23 @@
382
382
 
383
383
  {
384
384
 
385
+ "reservable_date": [
386
+
385
- "reservable_date": "The reservable_times.0.reservable_date field is required.",
387
+ "The reservable_times.0.reservable_date field is required."
388
+
386
-
389
+ ],
390
+
391
+ "reservable_from": [
392
+
387
- "reservable_from": "The reservable_times.0.reservable_from field is required.",
393
+ "The reservable_times.0.reservable_from field is required."
394
+
388
-
395
+ ],
396
+
397
+ "reservable_to": [
398
+
389
- "reservable_to": "The reservable_times.0.reservable_to field is required."
399
+ "The reservable_times.0.reservable_to field is required."
400
+
401
+ ]
390
402
 
391
403
  }
392
404