-
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: 2 comments 1 reply
-
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.
-
This discussion has been migrated to cue-lang/cue#888. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Beta Was this translation helpful? Give feedback.
It seems that field attributes get propagate and declaration attributes not. If so, that is a bug. All attributes should be propagated.