Simplify generateSampleValue() by leveraging new generator service.

Created on 7 August 2023, 11 months ago
Updated 9 August 2023, 11 months ago

Problem/Motivation

CustomItem.php is overcomplicating the generateSampleValue() with too much code. We can reduce code substantially by leveraging the new service.

API changes

The new service will be added to the field type plugin file.

Data model changes

Consistency of content generation across the generateSampleValue() and testing files using the same generator service. This will simplify updates when we add new data types in the future.

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States apmsooner

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

Comments & Activities

Production build 0.69.0 2024