Hello, thanks for making polylith. I have a question regarding using Datomic Ions. I'm getting this error when invoking the lambda.
"Message": "'datomic/ion-config.edn' is not on the classpath",
I saw this https://polylith.freeflarum.com/d/8-anyone-using-polylith-with-deps-based-projects/5 in the forums which shows how to use it with the legacy system. I've tried to convert it and still get the error. Any suggestions on where to put the ion-config.edn file?Thank you! I was able to reset Datomic Cloud with that version and it worked. Thanks for the example as well.
Great! Happy to hear that it worked. I’ll post here when I hear back from Cognitect
Hi @tshields44! I figured out that if you want to use a Datomic Cloud version later than 704-8957, you can use fully qualified paths in the deps.edn
file for the project rather than relative paths. It is still something Datomic team is looking into but in the meantime you can use that workaround if you need.
Hi @tshields44. I’ve been using Datomic Ions together with Polylith for more than a year now in two different projects. Until the version 715-8973, everything worked perfectly, however, when Cognitect released the version 715-8973 of Datomic Cloud, it started to give the same error for me as well. It seems like they did a breaking change without noticing. I’ve already opened a support ticket with them and they said they are still working on the issue. I can let you know about the progress of that ticket and in the mean time, you can use a version prior to the version affected (for example, 704-8957 works perfectly).
I also sent them an example project which works on version 704-8957 but stops working if I upgrade to a never version of the Datomic Cloud. I attached the example projects source code below so you can refer to the project structure and where to place ion-config.edn
.