Skip to content

Add adapter logic for GetSavedSearch#1274

Merged
jcscottiii merged 1 commit intomainfrom
jcscottiii/get-saved-search-adapter
Mar 17, 2025
Merged

Add adapter logic for GetSavedSearch#1274
jcscottiii merged 1 commit intomainfrom
jcscottiii/get-saved-search-adapter

Conversation

@jcscottiii
Copy link
Collaborator

This will be used by the getSavedSearch http handler

This is the layer between the httpserver and spanner.

It parses out the error if it is:

  • The entity does not exist error, or
  • General error

This will be used by the [getSavedSearch](https://github.com/GoogleChrome/webstatus.dev/blob/078beb7fecb7c22cdd3eb2dbd3c814eb2e84beb9/openapi/backend/openapi.yaml#L783) http handler

This is the layer between the httpserver and spanner.

It parses out the error if the:

- The entity does not exist
- General error
@jcscottiii jcscottiii requested review from KyleJu and jrobbins March 14, 2025 22:13
@jcscottiii jcscottiii added this pull request to the merge queue Mar 17, 2025
Merged via the queue into main with commit 10c5f9d Mar 17, 2025
6 checks passed
@jcscottiii jcscottiii deleted the jcscottiii/get-saved-search-adapter branch March 17, 2025 14:35
@jcscottiii jcscottiii mentioned this pull request Mar 20, 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