Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support imported edges #960

Merged
merged 4 commits into from
Mar 11, 2024
Merged

support imported edges #960

merged 4 commits into from
Mar 11, 2024

Conversation

jhsinger-klotho
Copy link
Contributor

Standard checks

  • Unit tests: Any special considerations?
  • Docs: Do we need to update any docs, internal or public?
  • Backwards compatibility: Will this break existing apps? If so, what would be the extra work required to keep them working?

@@ -47,6 +47,20 @@ func (v *pathExpandVertex) Key() Key {
}

func (v *pathExpandVertex) Evaluate(eval *Evaluator) error {
// if both the source and target are imported resources we can skip the evaluation since its just for context
// we will ensure the edge remains
sourceRes, err := eval.Solution.RawView().Vertex(v.SatisfactionEdge.Source)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO these shouldn't even result in a pathExpandVertex because it gives the wrong impression looking at the eval graph. Not a blocker though since it doesn't change behaviour.

pkg/engine/solution_context/view_raw.go Show resolved Hide resolved
function properties(object: ReturnType<typeof create>, args: Args) {}
function properties(object: ReturnType<typeof create>, args: Args) {
return {
DomainName: pulumi.interpolate`https://${object.domainName}`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't the domain name, but a URL base.

@jhsinger-klotho jhsinger-klotho merged commit 66a93e4 into main Mar 11, 2024
6 checks passed
@jhsinger-klotho jhsinger-klotho deleted the imported_edges branch March 11, 2024 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants