Ignore config keys with pattern

Created on 8 January 2023, almost 2 years ago
Updated 21 October 2023, about 1 year ago

Problem/Motivation

In some scenarios, we need to ignore keys in the pattern while giving the exact key name.
It will be a plus point if we use patterns (*) with a key.
We usually give "*" with the config file name and before ":" Can we use "*" after ":" which will be used for keys?

Proposed resolution

For example, I need to ignore the front page key in the system.site.yml file using a pattern instead of the key name.

system.site:page.front

But here I need to use the pattern in the key instead of the key's full name and it is working. But the below pattern is not working.

system.site:page.fro*
Can we use "*" in the configuration key?

Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

🇵🇰Pakistan riazsaid15 Office E-14, 4th Floor New spinzer IT Plaza next to Gul Haji Plaza, University Road, Peshawar

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.71.5 2024