polylith

https://polylith.gitbook.io/ and https://github.com/polyfy/polylith
shields 2021-01-08T09:31:48.086800Z

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?

shields 2021-01-09T23:34:28.091Z

Thank you! I was able to reset Datomic Cloud with that version and it worked. Thanks for the example as well.

furkan3ayraktar 2021-01-10T11:28:05.092400Z

Great! Happy to hear that it worked. I’ll post here when I hear back from Cognitect

furkan3ayraktar 2021-01-18T12:44:01.001100Z

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.

furkan3ayraktar 2021-01-08T09:58:08.090300Z

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).

furkan3ayraktar 2021-01-08T09:59:57.090500Z

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.

1