You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goal currently has a single field, spec, and it is a plain string:
messageGoal {
stringspec=1;
}
so manifests write spec.goal.spec: "Fix the failing unit tests.".
spec being a string isn't a good choice. In every other kind, spec is a
message that holds the resource's definition, so goal.spec reads as if it
should be structured, and a bare string leaves no room to add fields without a
breaking change. The text goal should live at goal.spec, but spec should
be a message with the text as one of its fields.
Activity
task: rename Goal.spec to Goal.text (google#604)