Skip to content

Conversation

@tibs245
Copy link
Contributor

@tibs245 tibs245 commented Feb 9, 2026

Description

Ticket Reference: #...

Additional Information

@tibs245 tibs245 changed the base branch from release/backup-project-backup-agent to master February 9, 2026 22:22
Signed-off-by: tibs245 <thibault.barske@kolombo.xyz>
@tibs245 tibs245 force-pushed the refacto/backup-agent-tanstack-query branch 3 times, most recently from 5282cc2 to ca356e6 Compare February 10, 2026 08:22
pauldkn
pauldkn previously approved these changes Feb 10, 2026
Copy link
Contributor

@pauldkn pauldkn left a comment

Choose a reason for hiding this comment

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

I really like the data/queries folder — it provides a single source of truth for all fetches, and I find calling vaultsQueries.all or vaultQueries.detail is more readable

The only part that feels like it adds complexity is everything around withClient(), but that's very specific to this module and the associated business rules. Without the need to retrieve backupServiceId from the cache, it would probably be cleaner (as in some other projects)

Overall, I think this is a better approach than before 👍

Signed-off-by: tibs245 <thibault.barske@kolombo.xyz>
@tibs245 tibs245 force-pushed the refacto/backup-agent-tanstack-query branch from ca356e6 to d10b473 Compare February 10, 2026 19:31
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