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

No transactions provided for norm :XXX #54

Open
Flawless opened this issue Jun 16, 2023 · 0 comments
Open

No transactions provided for norm :XXX #54

Flawless opened this issue Jun 16, 2023 · 0 comments

Comments

@Flawless
Copy link

Hi there! I have a lot of norms in my project, some of thems are pure data migrations, grab some data from db and return update txes. It works well if there is already some data in DB. What I understand so far, when I'm trying to initiate a new db (eg inmemory one for tests), such transactions may returns empty collection of txes (because there is no data to update) and conformity throws and error like that:

Execution error (ExceptionInfo) at io.rkn.conformity/handle-txes (conformity.clj:200).
No transactions provided for norm :aceplace/set-addon-owner

How can I prevent this behavior or maybe I didn't understand something essencial about conformity usage?

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