Use default values from default bundle configuration instead of hardcoded constants

Created on 3 November 2020, over 3 years ago
Updated 26 June 2023, about 1 year ago

Problem/Motivation

This task is a follow-up to this comment β†’ .
Basically, we should review and replace (where possible) usages of constants with default configuration object, that will be used for default values for new bundles.

Proposed resolution

Get default values for bundle/entities in the following order:
1) Default configuration object;
2) Current default values set in constants if the configuration is empty (it can be removed manually);

πŸ“Œ Task
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Matroskeen πŸ‡ΊπŸ‡¦ Ukraine, Lutsk

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024