Avromatic Support for Zeitwerk
Closed this issue · 0 comments
jturkel commented
Avromatic currently doesn't support the zeitwerk classloader when using eager loaded nested modules. Attempts to do so result in an error like this:
Attempted to replace existing Avromatic model Emails::Events::EmailRecipient with new model Emails::Events::EmailRecipient as 'emails.email_recipient'. Perhaps 'Emails::Events::EmailRecipient' needs to be eager loaded via the Avromatic eager_load_models setting?
I'm working on a fix...