getsentry / relay

Sentry event forwarding and ingestion service.
https://docs.sentry.io/product/relay/
Other
321 stars 91 forks source link

ref(pattern): Implement compile time configured patterns #4065

Closed Dav1dde closed 1 month ago

Dav1dde commented 1 month ago

Adds the necessary scaffolding (TypedPattern) to finally remove glob2.rs and glob3.rs.

TypedPattern allows compile time configuration of a Pattern which makes it possible to directly Deserialize into a fully configured Pattern. This essentially replaces glob3's GlobPatterns with TypePattern<CaseInsensitive> (ignoring the fact that GlobPatterns deserializes from a vector).

Working towards: #2426

skip-changelog