Make schema normalizer overrides module-agnostic (support jsonapi_schema as well as Schemata/OpenAPI)

Created on 21 July 2021, over 3 years ago
Updated 5 May 2024, 11 months ago

Problem/Motivation

Schemata integration was last touched in a substantive way in #2882231: [BUGFIX] Fatal error: Class 'Drupal\schemata_json_schema\Normalizer\jsonapi\SchemataSchemaNormalizer β†’ , and provides SchemaFieldDefinitionNormalizer for normalizing attribute fields. This does not normalize relationship fields for schema generation; that is handled by Schemata's RelationshipFieldDefinitionNormalizer, which is not enhancer-aware.

This may be an oversight re: schema generation after #3025284: Allow field enhancers for relationships β†’ was committed.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bradjones1 Digital Nomad Life

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024