I haven't had a chance to put the specs into this yet, but they are forthcoming. I just wanted to push this up now to begin the conversation on whether this is the right direction, particularly in light of the other PR that also seems to have to do with fetching resources. This was all the configuration I needed for my project (multi-tenant database, so I had to set the prefix on the queries).
That said, I'm not sure that directly using a Repo is something that canary ought to be doing at its core. Perhaps there could be swappable strategies that could be chosen instead? Just a thought.
I haven't had a chance to put the specs into this yet, but they are forthcoming. I just wanted to push this up now to begin the conversation on whether this is the right direction, particularly in light of the other PR that also seems to have to do with fetching resources. This was all the configuration I needed for my project (multi-tenant database, so I had to set the prefix on the queries).
That said, I'm not sure that directly using a Repo is something that canary ought to be doing at its core. Perhaps there could be swappable strategies that could be chosen instead? Just a thought.