Skip to content

Conversation

javirln
Copy link
Member

@javirln javirln commented Jul 14, 2025

This patch modifies the created_at of the ProjectInfo so it contains when the membership between the group and the project was created not when the project was created.

@javirln javirln requested review from migmartri and jiparis July 14, 2025 13:02
@javirln javirln self-assigned this Jul 14, 2025
optional string latest_version_id = 5;
// Timestamp when the project was created
// Timestamp when the membership was created
google.protobuf.Timestamp created_at = 6;
Copy link
Member

Choose a reason for hiding this comment

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

this is strange, projectInfo is a generic message no? We might need something else. Like ProjectMembership?

Copy link
Member Author

Choose a reason for hiding this comment

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

We have ProjectMember.

That represents the members of a Project. This is the other way around, the projects a group is member of. This ProjectInfo represents detailed information about a project that a group is a member of. We could call it GroupProjectMembership for example

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, probably call it smth less confusing, unless this is nested inside the response, is it?

javirln added 2 commits July 16, 2025 08:23
Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
@javirln javirln merged commit e040502 into chainloop-dev:main Jul 16, 2025
13 checks passed
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.

3 participants