Skip to content

Rename query history read and write methods#2231

Merged
norascheuch merged 2 commits intomainfrom
nora/rename-query-history-serialization
Mar 24, 2023
Merged

Rename query history read and write methods#2231
norascheuch merged 2 commits intomainfrom
nora/rename-query-history-serialization

Conversation

@norascheuch
Copy link
Copy Markdown
Contributor

This PR is part of an endeavour to separate data and domain model for the query history. We are just renaming the methods responsible for reading and writing query history data to disk here.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

Copy link
Copy Markdown
Member

@koesie10 koesie10 left a comment

Choose a reason for hiding this comment

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

LGTM, just a naming suggestion

import { redactableError } from "../../pure/errors";

export async function deserializeQueryHistory(
export async function readFromQueryHistoryFile(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should we keep the naming between these two names consistent by naming it readQueryHistoryFromFile?

@norascheuch norascheuch enabled auto-merge March 24, 2023 11:10
@norascheuch norascheuch merged commit cd03002 into main Mar 24, 2023
@norascheuch norascheuch deleted the nora/rename-query-history-serialization branch March 24, 2023 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants