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
{{ message }}
Repository navigation
Commit 8e5a0b2
Browse filesBrowse the repository at this point in the historyBrowse files
Sync the vendored protos with Crossplane's and regenerate, picking up
Dependencies, Dependency, RequiredResourceDependency, the
DependencyLifecycle enum, the dependencies field on the request and the
response, and CAPABILITY_DEPENDENCIES.
Add helpers for the field. response.to carries the request's
dependencies forward, like it does desired state and context, so a
function that adds an edge keeps the ones it was handed. It copies them
only when the request has them: an unset Dependencies means "no
opinion, carry mine forward" and an empty one means "drop every
constraint", so copying an unset field as an empty one would turn the
former into the latter.
add_dependency takes composed-to-composed edges, with
create_before_destroy rather than the lifecycle enum;
add_required_resource_dependency is separate because
create_before_destroy is invalid for a required resource, and a
separate function makes that unrepresentable. clear_dependencies
returns an empty set for a function that wants no constraints at all,
and request.get_dependencies reads what the pipeline accumulated.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments