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

Add adapter logic to handle bookmark operations #1356

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

jcscottiii
Copy link
Collaborator

This change adds the adapter logic for the putUserSavedSearchBookmark and removeUserSavedSearchBookmark operations.

PutUserSavedSearchBookmark handles converting the errors from spanner for 1) bookmark limit exceeded and 2) entity does not exist to errors that the http layer will use to return the appropriate status code

RemoveUserSavedSearchBookmark handles converting the errors from spanner for 1) saved search owner cannot delete bookmark and 2) entity does not exist to errors that the http layer will use to return the appropriate status code

@jcscottiii jcscottiii requested review from jrobbins and KyleJu April 2, 2025 18:39
@jcscottiii jcscottiii force-pushed the jcscottiii/saved-searches-v7.0.2 branch from c6faabe to 472f893 Compare April 2, 2025 18:43
@jcscottiii jcscottiii force-pushed the jcscottiii/saved-searches-v7.0.1 branch from 14313a7 to cb66728 Compare April 2, 2025 19:56
@jcscottiii jcscottiii force-pushed the jcscottiii/saved-searches-v7.0.2 branch from 472f893 to af1a053 Compare April 2, 2025 19:57
Base automatically changed from jcscottiii/saved-searches-v7.0.1 to main April 2, 2025 20:32
This change adds the adapter logic for the putUserSavedSearchBookmark
and removeUserSavedSearchBookmark operations.

putUserSavedSearchBookmark handles converting the errors from spanner
for 1) bookmark limit exceeded and 2) entity does not exist to errors
that the http layer will use to return the appropriate status code

removeUserSavedSearchBookmark handles converting the errors from spanner
for 1) saved search owner cannot delete bookmark and 2) entity does not exist to errors
that the http layer will use to return the appropriate status code
@jcscottiii jcscottiii force-pushed the jcscottiii/saved-searches-v7.0.2 branch from af1a053 to fccfae8 Compare April 2, 2025 20:36
@jcscottiii jcscottiii enabled auto-merge April 2, 2025 20:51
@jcscottiii jcscottiii added this pull request to the merge queue Apr 2, 2025
Merged via the queue into main with commit 15a066a Apr 2, 2025
6 checks passed
@jcscottiii jcscottiii deleted the jcscottiii/saved-searches-v7.0.2 branch April 2, 2025 21:10
@jrobbins jrobbins mentioned this pull request Apr 2, 2025
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.

2 participants