forked from juju/juju
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(annotations): refactor queries into the same file as state
Refactor the annotations domain to include queries in the same file as the state methods. Also remove some of the conditional logic where it was no longer necessery. This change was motivated by an update to SQLair that checks if an argument to prepare is used. In this domain, different queries were returns from functions then used with a single prepare. This refator prepares all the queries next to their declarations. This means the types can be easily matched to the query.
- Loading branch information
Showing
3 changed files
with
134 additions
and
185 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.