Add hook_requirements() warning for sites with JSON:API, error if assertions are enabled

Created on 4 September 2024, 6 months ago
Updated 20 September 2024, 6 months ago

Overview

🐛 Declare explicit runtime dependency on `justinrainbow/json-schema` RTBC made justinrainbow/json-schema a runtime requirement. It was raised by @larowlan in #4 🐛 Declare explicit runtime dependency on `justinrainbow/json-schema` RTBC of that issue that it will impact JSON:API performance.

📌 Move JSON:API validation to a feature flag or separate module Active will resolve that, but we should be nice and add a hook_requirements check to warn users about this until the core issue is committed.

Proposed resolution

Add a requirements check
Include a reference to the core issue so the hook_requirements can be removed when the core issue lands

User interface changes

📌 Task
Status

Fixed

Component

Code

Created by

🇳🇿New Zealand danielveza Brisbane, AU

Live updates comments and jobs are added and updated live.
  • Performance

    It affects performance. It is often combined with the Needs profiling tag.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024