-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add space details to the stack object #201
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,7 +132,13 @@ type stack struct { | |
State string `graphql:"state" json:"state,omitempty"` | ||
StateSetAt int64 `graphql:"stateSetAt" json:"stateSetAt,omitempty"` | ||
TerraformVersion string `graphql:"terraformVersion" json:"terraformVersion,omitempty"` | ||
TrackedCommit struct { | ||
SpaceDetails struct { | ||
ID string `graphql:"id" json:"id,omitempty"` | ||
Name string `graphql:"name" json:"name,omitempty"` | ||
Description string `graphql:"description" json:"description,omitempty"` | ||
ParentSpace *string `graphql:"parentSpace" json:"parentSpace,omitempty"` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could we resolve There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not a thing by default, requires additional queries. By default it's just a string value, ID. |
||
} `graphql:"spaceDetails" json:"spaceDetails,omitempty"` | ||
TrackedCommit struct { | ||
AuthorLogin string `graphql:"authorLogin" json:"authorLogin,omitempty"` | ||
AuthorName string `graphql:"authorName" json:"authorName,omitempty"` | ||
Hash string `graphql:"hash" json:"hash,omitempty"` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In
SpaceDetails
we have bothID
andName
. IsParentSpace
the id or name?