Add computed field only to required content types

Created on 11 April 2023, over 1 year ago
Updated 23 July 2024, 4 months ago

Problem/Motivation

If you use for example "RESTful Web Services" core module to get nodes. Then for all content types that are not specified in the configuration, you will get a redundant field: "node_read_time":[{"value":null}]

Proposed resolution

I suggest checking the configuration (for which content types is activated) not inside Computed field, but at the stage of adding Computed field. In order not to add a field to those content types that are not needed.

πŸ› Bug report
Status

Closed: duplicate

Version

1.11

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine alextars

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

Comments & Activities

Production build 0.71.5 2024