triplex icon indicating copy to clipboard operation
triplex copied to clipboard

Force prefix option repo ?

Open asrocha opened this issue 2 years ago • 0 comments

I have a doubt I configured the Plug, Triplex.SubdomainPlug correctly so that I have the prefix to the "tenant" variable always in @conn

however, when I give a Repo.All(envs) for example, shouldn't it automatically put the prefix based on my subdomain? or do I really have to put the prefix: prefix: Triplex.to_prefix(@tenant) parameter in every query?

asrocha avatar Oct 05 '23 18:10 asrocha