-
Originally opened by @verdverm in cuelang/cue#888 In the following example, I am trying to understand how attributes propagate with definitions (though it looks like regular structs have the same results). I've tried several variations across conjunction and embedding. I expected the attributes to propagate more than they do (for the Bs and Cs). Is this a bug or intended behavior? main.cue
cue eval -A main.cue
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Original reply by @mpvl in cuelang/cue#888 (comment) It seems that field attributes get propagate and declaration attributes not. If so, that is a bug. All attributes should be propagated. |
Beta Was this translation helpful? Give feedback.
Original reply by @mpvl in cuelang/cue#888 (comment)
It seems that field attributes get propagate and declaration attributes not. If so, that is a bug. All attributes should be propagated.