JSONAPI Extras extends @internal class

Created on 8 February 2024, 12 months ago
Updated 27 June 2024, 7 months ago

We are preparing for migration to Drupal 10. The Upgrade Status module returns 5 warnings

  • Class Drupal\jsonapi_defaults\Controller\EntityResource extends @internal class Drupal\jsonapi\Controller\EntityResource.
  • Class Drupal\jsonapi\Normalizer\ImpostorFrom\jsonapi_extras\ResourceIdentifierNormalizerImpostor extends @internal class Drupal\jsonapi_extras\Normalizer\ResourceIdentifierNormalizer.
  • Class Drupal\jsonapi\Normalizer\ImpostorFrom\jsonapi_extras\ResourceObjectNormalizerImpostor extends @internal class Drupal\jsonapi_extras\Normalizer\ResourceObjectNormalizer.
  • Class Drupal\jsonapi_extras\ResourceType\ConfigurableResourceType extends @internal class Drupal\jsonapi\ResourceType\ResourceType.
  • Class Drupal\jsonapi_extras\ResourceType\ConfigurableResourceTypeRepository extends @internal class Drupal\jsonapi\ResourceType\ResourceTypeRepository.

It doesn't break anything, but I would like to know if there is another way to extend JSON API normalizers without rewriting @internal classes.

๐Ÿ“Œ Task
Status

Closed: works as designed

Version

3.24

Component

Code

Created by

๐Ÿ‡จ๐Ÿ‡ฟCzech Republic siva01

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024