Skip to content

Question: How to configure prefixes for the created Redis keys? #277

Closed
@david-wahlstedt

Description

@david-wahlstedt

Is your feature request related to a problem? Please describe.
In order to separate unrelated concerns in the Redis database, it is customary to use colon separated key prefixes. I can't see this option available in pydantic-aioredis. Would it be possible/easy to add?

Ideally, I would like to have the possibility to specify that all the Redis entries created by my application has some "foo:" as a key prefix.

I found a possiblility to add a prefix in the constructor of a PydanticAioredisCRUDRouter, but I guess this is not meant to use just in order to configure one's Redis key prefixes?

I tried to find an email address to send my question to, but I only found a "no-reply" address, so I filed this issue instead. Sorry if I'm not posing the question the right way.

BR,
David

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions