conformity icon indicating copy to clipboard operation
conformity copied to clipboard

No transactions provided for norm :XXX

Open Flawless opened this issue 1 year ago • 0 comments

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?

Flawless avatar Jun 16 '23 10:06 Flawless