let config = ./Config.dhall
-in { name =
- "correlation-id"
- , config =
- config.CorrelationId
- { header_name = "X-correl", echo_downstream = True }
- }
- : Plugin
+in λ(generator : Optional Text)
+ → { name =
+ "correlation-id"
+ , config =
+ config.CorrelationId
+ { header_name =
+ "X-correl"
+ , echo_downstream =
+ True
+ , generator =
+ Optional/fold
+ Text
+ generator
+ Text
+ (λ(t : Text) → t)
+ "uuid#counter"
+ }
+ }
+ : Plugin