Skip to content

Conversation

@joshgoebel
Copy link

@joshgoebel joshgoebel commented Mar 9, 2025

Via #719:

redis namespace is no longer needed thanks to #722.


And it no longer appears to work. The flipper-redis gem's use of with seems to bypass the namespacing provided by redis-namespace entirely:

irb(main):037> r
=> <Redis::Namespace v1.11.0 with client v4.8.1 for redis://redis:6379/0/cmm:namespace>
irb(main):038> c
=> #<Redis client v4.8.1 for redis://redis:6379/0>
irb(main):039> r.set("one", true)
=> "OK"
irb(main):041> r.with { |c| c.set("two","true") }
=> "OK"
irb(main):042> c.keys
=>
[
 "two",
 "cmm:namespace:one"
]

Am I missing something?

@jnunemaker jnunemaker merged commit b16e355 into flippercloud:main Mar 11, 2025
46 checks passed
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

Successfully merging this pull request may close these issues.

3 participants