You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in this thread: #1998 (comment), Smithy accepts more regexes than the regex crate supports (the crate doesn't support look-behinds, etc) in the @pattern trait.
These unsupported regexes should be detected early, options include:
During ${service}Builder::build() so that customers see an error as soon as they attempt to setup their server
Generating tests that Regex::compile the regex, so builds fail if the regex is unsupported
The text was updated successfully, but these errors were encountered:
As mentioned in this thread: #1998 (comment), Smithy accepts more regexes than the
regex
crate supports (the crate doesn't support look-behinds, etc) in the@pattern
trait.These unsupported regexes should be detected early, options include:
${service}Builder::build()
so that customers see an error as soon as they attempt to setup their serverRegex::compile
the regex, so builds fail if the regex is unsupportedThe text was updated successfully, but these errors were encountered: