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

Compatiblity with nebulex v2.0.0-rc.0? #21

Closed
sjmueller opened this issue Oct 13, 2020 · 3 comments
Closed

Compatiblity with nebulex v2.0.0-rc.0? #21

sjmueller opened this issue Oct 13, 2020 · 3 comments

Comments

@sjmueller
Copy link

Hi, we're trying to use nebulex_redis_adapter master branch with v2.0.0-rc.0, but compilation errors occur:

** (CompileError) lib/nebulex_cluster.ex:51: Nebulex.Object.__struct__/0 is undefined, cannot expand struct
Nebulex.Object. Make sure the struct name is correct. If the struct name exists and is correct but it
still cannot be found, you likely have cyclic module usage in your code
    (stdlib 3.13.2) lists.erl:1358: :lists.mapfoldl/3
    (elixir 1.11.0) src/elixir_fn.erl:15: anonymous fn/4 in :elixir_fn.expand/3
    (stdlib 3.13.2) lists.erl:1358: :lists.mapfoldl/3
could not compile dependency :nebulex_cluster, "mix compile" failed. You can recompile this dependency with
"mix deps.compile nebulex_cluster", update it with "mix deps.update nebulex_cluster" or clean it with
"mix deps.clean nebulex_cluster"

Is there a timeline where this lib will become compatible? If not, do you have any pointers to help us get the most simplistic case working (i.e. without worrying about distributed caching)?

@cabol
Copy link
Owner

cabol commented Oct 13, 2020

Hey, yes there is, migrating the Redis adapter to v2 is a top priority, it will be ready most likely by the end of October.

If not, do you have any pointers to help us get the most simplistic case working (i.e. without worrying about distributed caching)?

Unfortunately, I don't see a simple way, because there are changes in the Cache API, so the adapter has to be fixed. But the idea is to get it done by the end of this month.

@cabol
Copy link
Owner

cabol commented Oct 31, 2020

Hey!! Finally, the Redis adapter is now using Nebulex v2, it is on the master branch. So, if you can try it out and let me know how it goes it would be great, stay tuned!

PD: I will publish the first release candidate very soon (in the next 2 weeks), just waiting for some feedback.

@cabol cabol closed this as completed Nov 29, 2020
@sjmueller
Copy link
Author

This is great @cabol! We will upgrade as soon as we can.

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

2 participants