File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed
Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change 8787 // 'middleware' => null
8888 ],
8989
90+ // set to null if you want to keep snake_case
9091 'name_converter ' => SnakeCaseToCamelCaseNameConverter::class,
9192
9293 'exception_to_status ' => [
Original file line number Diff line number Diff line change 2020use Illuminate \Database \Eloquent \Relations \BelongsTo ;
2121use Symfony \Component \Serializer \Attribute \Groups ;
2222
23- // #[ApiResource(denormalizationContext: ['groups' => ['cart_item.write']], normalizationContext: ['groups' => ['cart_item.write']])]
2423#[ApiResource(denormalizationContext: ['groups ' => ['cart_item.write ' ]], normalizationContext: ['groups ' => ['cart_item.write ' ]])]
2524#[Groups('cart_item.write ' )]
2625#[ApiProperty(serialize: new Groups (['shopping_cart.write ' ]), property: 'product_sku ' )]
You can’t perform that action at this time.
0 commit comments