What is the dhall idiomatic way to associate different schemas to union values?
问题 I'm trying to represent the pipeline system of the Zuul-CI project using Dhall types: a pipeline can use different connections with different trigger events. I'd like to provide a default pipeline that setups the correct trigger event for each type of connections in such a way that: ⊢ RenderPipeline CheckPipeline::{ connections = [ ConnectionTypes.GitHub ] } - pipeline: name: check trigger: github: action: open event: pull-request ⊢ RenderPipeline CheckPipeline::{ connections = [