Mismatch in allowed chars for validator.id in definition v/s suppress trait #987
Closed
Description
It is possible to define a validator with the id
containing the dot .
character.
metadata validators = [
{
name: "CamelCase",
id:"Camel.Case"
},
However, trying to add a suppress trait for this event ID, like
@suppress(["Camel.Case"])
leads to
Error validating trait `suppress`.0: String value provided for `smithy.api#suppress$member` must match regular expression: ^[_a-zA-Z][A-Za-z0-9]*$