Remove all disabled: true JSON:API configs and only keep disabled: false as Auto Enabled JSON:API Endpoints for Entity Types can do the same job

Created on 22 February 2023, over 1 year ago
Updated 30 May 2023, over 1 year ago

Problem/Motivation

The JSON:API Extras module now has
#3169413: Add a configuration option to default resources without configuration to disabled

Proposed resolution

  • Remove all disabled: true JSON:API configs and only keep endpoint configs with disabled: false

Having

path_prefix: api
include_count: false
default_disabled: true

in the jsonapi_extras.settings.yml

Only keeping the activated JSON:API endpoints with disabled: false
And removing all endpoints with disabled: true
as the Disabled by default will do that work.

If activated, all resource types that don't have a matching enabled resource config will be disabled.

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-10.0.0-alpha1 , varbase_api-10.0.0-alpha1

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

JSON:API Extras Settings

Disabled by default
If activated, all resource types that don't have a matching enabled resource config will be disabled.

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3343757 : Removed all disabled: true JSON:API configs and only kept disabled: false as Auto Enabled JSON:API Endpoints for Entity Types can do the same job
📌 Task
Status

Fixed

Version

10.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

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

Comments & Activities

Production build 0.71.5 2024