Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support of :engine or :class as an alternative to :zen/tags #58

Open
niquola opened this issue May 29, 2023 · 0 comments
Open

Add support of :engine or :class as an alternative to :zen/tags #58

niquola opened this issue May 29, 2023 · 0 comments

Comments

@niquola
Copy link
Member

niquola commented May 29, 2023

The tag's system is flexible, but sometimes it is looks too complicated and simple :class or :engine pattern may work:

{ns myapp
 db {:engine pg/db :user "..."}
 db {:zen/tag #{pg/db} :engine pg/db ...}}

:engine or :zen/engine may be indexed as a tag - i.e. (get-tag ztx 'pg/db) will find it

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

No branches or pull requests

1 participant