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

chore: include created by details in catalog change api #728

Merged
merged 2 commits into from
May 2, 2024

Conversation

yashmehrotra
Copy link
Member

@yashmehrotra yashmehrotra commented May 2, 2024

Fixes #708

@yashmehrotra yashmehrotra requested a review from moshloop May 2, 2024 05:44
@yashmehrotra yashmehrotra force-pushed the catalog-change-created-by branch 4 times, most recently from 5724bff to eac8454 Compare May 2, 2024 07:26
Comment on lines 165 to 166
AuthorName string `json:"author_name,omitempty"`
AuthorAvatar string `json:"author_avatar,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we need to include these - The vast majority of changes will not be linked to a person and we can do the lookup and cache of person -> name, avatar client side

Copy link
Member Author

Choose a reason for hiding this comment

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

So just return source, external_created_by and created_by and let frontend decide ?

@moshloop moshloop enabled auto-merge (squash) May 2, 2024 16:08
@moshloop moshloop force-pushed the catalog-change-created-by branch from 8642094 to 2f9a9d0 Compare May 2, 2024 16:08
@moshloop moshloop merged commit 4e2261a into main May 2, 2024
6 checks passed
@moshloop moshloop deleted the catalog-change-created-by branch May 2, 2024 16:11
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.

catalog change API should return created by
2 participants