Does Inputs can with Key chaining #28
Answered
by
JakeStanger
fbewivpjsbsby
asked this question in
Q&A
-
DescriptionI can not use inputs with key chaining. Steps to reproduce
�[1;31m[E0001]�[0m --> 14:19
|
14 | ..$extension.auto_tab_discard
| ^---
|
= expected spread or path_char Use caseI use key chaining in inputs that make me use like:
|
Beta Was this translation helpful? Give feedback.
Answered by
JakeStanger
Nov 5, 2023
Replies: 1 comment 3 replies
-
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:
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
fbewivpjsbsby
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: