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

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bradjones1 created an issue. See original summary.

bradjones1’s picture

Status: Active » Needs work
Issue tags: +Needs tests
bradjones1’s picture

Title: [Schemata Integration] Releationship field enhancer schemas are not applied » Make schema normalizer overrides module-agnostic (support jsonapi_schema as well as Schemata/OpenAPI)
Status: Needs work » Needs review
bradjones1’s picture

bradjones1’s picture

Status: Needs review » Postponed

Rebased. I'm also going to mark this Postponed b/c the broader "what do to about schemas" question needs to be answered, first. This can't depend on some rando module I've come up with. :-D

bradjones1’s picture

Status: Postponed » Closed (outdated)

Schema generation is being reworked in #3031367: Generate JSON schema for content entity types.