We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14f1e83 commit 609f792Copy full SHA for 609f792
src/Helpers/DataIncludedHelper.php
@@ -95,7 +95,7 @@ protected static function addToRelationshipsArray(
95
foreach ($value as $propertyName => $attribute) {
96
if (PropertyHelper::isAttributeProperty($mappings, $propertyName, $type)) {
97
98
- $propertyName = DataAttributesHelper::transformToValidMemberName($propertyName);
+ $propertyName = DataAttributesHelper::transformToValidMemberName(RecursiveFormatterHelper::camelCaseToUnderscore($propertyName));
99
if (\array_key_exists(Serializer::MAP_TYPE, $attribute)
100
&& count(array_values($attribute[Serializer::SCALAR_VALUE])) > 0
101
&& \array_key_exists(Serializer::CLASS_IDENTIFIER_KEY, array_values($attribute[Serializer::SCALAR_VALUE])[0])) {
0 commit comments