Skip to content

fix(laravel): allow serializer attributes through ApiProperty

Codecov / codecov/patch succeeded Sep 27, 2024 in 1s

No report found to compare against

View this Pull Request on Codecov

No report found to compare against

Annotations

Check warning on line 257 in src/Laravel/ApiPlatformProvider.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Laravel/ApiPlatformProvider.php#L249-L257

Added lines #L249 - L257 were not covered by tests

Check warning on line 45 in src/Laravel/Eloquent/Metadata/Factory/Property/EloquentPropertyNameCollectionMetadataFactory.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Laravel/Eloquent/Metadata/Factory/Property/EloquentPropertyNameCollectionMetadataFactory.php#L43-L45

Added lines #L43 - L45 were not covered by tests

Check warning on line 192 in src/Laravel/Tests/JsonApiTest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Laravel/Tests/JsonApiTest.php#L192

Added line #L192 was not covered by tests

Check warning on line 198 in src/Laravel/Tests/JsonApiTest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Laravel/Tests/JsonApiTest.php#L194-L198

Added lines #L194 - L198 were not covered by tests

Check warning on line 302 in src/Laravel/Tests/JsonLdTest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Laravel/Tests/JsonLdTest.php#L302

Added line #L302 was not covered by tests

Check warning on line 307 in src/Laravel/Tests/JsonLdTest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Laravel/Tests/JsonLdTest.php#L304-L307

Added lines #L304 - L307 were not covered by tests

Check warning on line 31 in src/Laravel/workbench/app/Models/WithAccessor.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Laravel/workbench/app/Models/WithAccessor.php#L31

Added line #L31 was not covered by tests

Check warning on line 34 in src/Laravel/workbench/app/Models/WithAccessor.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Laravel/workbench/app/Models/WithAccessor.php#L34

Added line #L34 was not covered by tests

Check warning on line 42 in src/Laravel/workbench/database/factories/WithAccessorFactory.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Laravel/workbench/database/factories/WithAccessorFactory.php#L42

Added line #L42 was not covered by tests

Check warning on line 38 in src/Laravel/workbench/database/factories/WithAccessorRelationFactory.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Laravel/workbench/database/factories/WithAccessorRelationFactory.php#L38

Added line #L38 was not covered by tests

Check warning on line 42 in src/Laravel/workbench/database/factories/WithAccessorRelationFactory.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Laravel/workbench/database/factories/WithAccessorRelationFactory.php#L40-L42

Added lines #L40 - L42 were not covered by tests

Check warning on line 28 in src/Laravel/workbench/database/migrations/2024_09_24_065934_create_with_accessors_table.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Laravel/workbench/database/migrations/2024_09_24_065934_create_with_accessors_table.php#L24-L28

Added lines #L24 - L28 were not covered by tests

Check warning on line 34 in src/Laravel/workbench/database/migrations/2024_09_24_065934_create_with_accessors_table.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Laravel/workbench/database/migrations/2024_09_24_065934_create_with_accessors_table.php#L33-L34

Added lines #L33 - L34 were not covered by tests

Check warning on line 45 in src/Laravel/workbench/database/migrations/2024_09_24_065934_create_with_accessors_table.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Laravel/workbench/database/migrations/2024_09_24_065934_create_with_accessors_table.php#L45

Added line #L45 was not covered by tests

Check warning on line 612 in src/Metadata/ApiProperty.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Metadata/ApiProperty.php#L612

Added line #L612 was not covered by tests

Check warning on line 614 in src/Metadata/ApiProperty.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Metadata/ApiProperty.php#L614

Added line #L614 was not covered by tests

Check warning on line 620 in src/Metadata/ApiProperty.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Metadata/ApiProperty.php#L620

Added line #L620 was not covered by tests

Check warning on line 623 in src/Metadata/ApiProperty.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Metadata/ApiProperty.php#L622-L623

Added lines #L622 - L623 were not covered by tests

Check warning on line 625 in src/Metadata/ApiProperty.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Metadata/ApiProperty.php#L625

Added line #L625 was not covered by tests

Check warning on line 37 in src/Serializer/Mapping/Loader/PropertyMetadataLoader.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Serializer/Mapping/Loader/PropertyMetadataLoader.php#L37

Added line #L37 was not covered by tests

Check warning on line 39 in src/Serializer/Mapping/Loader/PropertyMetadataLoader.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Serializer/Mapping/Loader/PropertyMetadataLoader.php#L39

Added line #L39 was not covered by tests

Check warning on line 41 in src/Serializer/Mapping/Loader/PropertyMetadataLoader.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Serializer/Mapping/Loader/PropertyMetadataLoader.php#L41

Added line #L41 was not covered by tests

Check warning on line 47 in src/Serializer/Mapping/Loader/PropertyMetadataLoader.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Serializer/Mapping/Loader/PropertyMetadataLoader.php#L43-L47

Added lines #L43 - L47 were not covered by tests

Check warning on line 52 in src/Serializer/Mapping/Loader/PropertyMetadataLoader.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Serializer/Mapping/Loader/PropertyMetadataLoader.php#L51-L52

Added lines #L51 - L52 were not covered by tests

Check warning on line 56 in src/Serializer/Mapping/Loader/PropertyMetadataLoader.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/Serializer/Mapping/Loader/PropertyMetadataLoader.php#L55-L56

Added lines #L55 - L56 were not covered by tests