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

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

No files matched your search

+2 -2
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",