+
Skip to content

Conversation

iantbutler01
Copy link
Collaborator

@iantbutler01 iantbutler01 commented Sep 18, 2022

In this case even though originally the two structs served different purposes, with ArtifactNodeRepr to be more of a clean presentation layer that would serialize into the build artifact and DependencyNode to be the deserialized representation for the lower level service and project yamls, ultimately they differed very little and for presentation purposes we can rely on Serde's attributes to skip or alias fields, removing the need for a purely presentational struct.

Settled on ArtifactNodeRepr with 3 additional fields taken from the now removed DependencyNode.

The 3 fields are:

stack_graph
input_spec
dependency_names (previously dependencies)

Renamed fields on ArtifactNodeRepr

inputs -> mapped_inputs

@iantbutler01 iantbutler01 merged commit 3e4babd into main Sep 18, 2022
@iantbutler01 iantbutler01 deleted the unified-dag-representation-spike branch September 18, 2022 06:40
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.

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载