Skip to content

Does Inputs can with Key chaining #28

Answered by JakeStanger
fbewivpjsbsby asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, cool to see Corn being used in the wild!

The way you're trying to use inputs there isn't supported - key chaining is for writing keys at depth; there is no mechanism for reading keys inside an input object like this.

Instead, what you'll want to do is something like this:

let {
  $auto_tab_discard = { ... }
  $extension = { auto_tab_discard = $auto_tab_discard }
} in { 
  policies.ExtensionSettings = $auto_tab_discard
}

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@fbewivpjsbsby
Comment options

@JakeStanger
Comment options

@fbewivpjsbsby
Comment options

Answer selected by fbewivpjsbsby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants