fix(key): Revert support for ( and ) as name/group, as they already worked before (#1356)

Relevant: #1340
This commit is contained in:
TwiN
2025-10-20 13:50:02 -04:00
committed by GitHub
parent 70d7d0c54c
commit d24c66cf96
3 changed files with 19 additions and 21 deletions

View File

@@ -32,12 +32,12 @@ func TestConvertGroupAndNameToKey(t *testing.T) {
{
GroupName: "API (v1)",
Name: "endpoint",
ExpectedOutput: "api--v1-_endpoint",
ExpectedOutput: "api-(v1)_endpoint",
},
{
GroupName: "website (admin)",
Name: "test",
ExpectedOutput: "website--admin-_test",
ExpectedOutput: "website-(admin)_test",
},
{
GroupName: "search",