manager icon indicating copy to clipboard operation
manager copied to clipboard

refactor: [M3-8130] - Query Key Factory for Databases

Open bnussman-akamai opened this issue 1 year ago โ€ข 1 comments

Description ๐Ÿ“

Updates React Query layer of Databases to adapt our latest patterns

Changes ๐Ÿ”„

  • Updates Database queries to use a query key factory ๐Ÿญ
  • Updates Database queries and mutations to use the "single object notation" (see here) in efforts to make updating from v4 to v5 easier ๐Ÿ“ฆ
  • Updates some Database responses and types to match what the API actually returns ๐Ÿ’ก

Preview ๐Ÿ“ท

[!note] No UI changes

How to test ๐Ÿงช

  • Checkout this PR locally and/or test with the internal preview link ๐Ÿ”—
  • Test Database functionality in general ๐Ÿ‘€
    • Verify general cache updates happen as expected. For example, renaming a database should propagate to all screens
  • Verify all Database automated testing passes โœ…

As an Author I have considered ๐Ÿค”

  • [ ] ๐Ÿ‘€ Doing a self review
  • [ ] โ” Our contribution guidelines
  • [ ] ๐Ÿค Splitting feature into small PRs
  • [x] โž• Adding a changeset
  • [x] ๐Ÿงช Providing/Improving test coverage
  • [ ] ๐Ÿ” Removing all sensitive information from the code and PR description
  • [ ] ๐Ÿšฉ Using a feature flag to protect the release
  • [ ] ๐Ÿ‘ฃ Providing comprehensive reproduction steps
  • [ ] ๐Ÿ“‘ Providing or updating our documentation
  • [ ] ๐Ÿ•› Scheduling a pair reviewing session
  • [ ] ๐Ÿ“ฑ Providing mobile support
  • [ ] โ™ฟ Providing accessibility support

bnussman-akamai avatar May 22 '24 00:05 bnussman-akamai

Coverage Report: โœ…
Base Coverage: 81.63%
Current Coverage: 81.64%

github-actions[bot] avatar May 22 '24 14:05 github-actions[bot]