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

feat(api): api/users/get-public-profile #54729

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

ojeytonwilliams
Copy link
Contributor

@ojeytonwilliams ojeytonwilliams commented May 9, 2024

  • test: add some tests for get-public-profile
  • feat: handle missing query and missing users
  • test: add schema test to prevent query use
  • feat: implement responses for locked profile

Checklist:

Post MVP, it would be nice if this just returned what get-session-user returns, but with the private properties null (or omitted). This would both clean up the code and make it clearer what the privacy toggles control.

Closes #54728

@github-actions github-actions bot added the platform: api Server application that needs familiarity with Express, Loopback, MongoDB etc. label May 9, 2024
@ojeytonwilliams ojeytonwilliams force-pushed the feat/get-public-profile branch 2 times, most recently from 46b56d6 to 9295054 Compare May 16, 2024 11:01
@ojeytonwilliams ojeytonwilliams marked this pull request as ready for review May 17, 2024 16:12
@ojeytonwilliams ojeytonwilliams requested a review from a team as a code owner May 17, 2024 16:12
@moT01 moT01 added the status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending. label May 20, 2024
Copy link
Member

@ShaunSHamilton ShaunSHamilton left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Discussed in meeting: The new api returns is2018FullStackCert, but the old api does not. Theoretically, this is a bug in the old api.

@ShaunSHamilton ShaunSHamilton enabled auto-merge (squash) May 24, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: api Server application that needs familiarity with Express, Loopback, MongoDB etc. status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GET /api/users/get-public-profile
3 participants