-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
Centralise and expose configurable db views folder #380
Comments
We also have this need, as we're building a modular monolith via @derekprior what about PR #287? That would address the issue here. |
@derekprior what do you think of this proposal? |
Would you be open to a PR for it? |
@hlascelles would you open a PR? I'd like to see how you solved it. We may have to just fork this repo if its no longer maintained. |
@gap777: This library is actively, if sporadically, maintained by @calebhearth and I. We take a conservative approach to its maintenance, which has served us very well for over 8 years and more 23 million downloads. We implement features and fix bugs that we have confidence and familiarity with. We've occasionally strayed from this strategy and have often regretted that decision as we're left to support issues that arise in functionality we aren't experienced with. A perusal of the issue tracker will show that there are some themes to some of the remaining issues which are helpfully denoted with labels. It's not that we don't want to fix these issues, it's that we want to fix them in a way we feel confident we can support for another 8 years. In the case of this issue with view-paths , I'm hesitant to accept any pull request until we have #402 sorted. I do not want to implement a fix here only to discover it conflicts with, is superseded by, or diverges from patterns present in the official multi database support from Rails. I understand you may not want to wait for us to figure out #402. If you peruse the label I linked earlier, you'll see a couple of PRs open with various implementations that may suit your needs. |
We run an app that needs two migrations folders (one each for two very different DB setups).
So our project folder looks like:
We'd like to use scenic for the other database too.
We've implemented it, and everything works great except the path to the
views
dir.That is described concretely in two places in scenic:
scenic/lib/generators/scenic/view/view_generator.rb
Line 83 in 3600a48
scenic/lib/scenic/definition.rb
Line 22 in b1544dc
Would you be open to a PR that centralises the reference to that path, and exposes it as a configurable value?
Thanks!
The text was updated successfully, but these errors were encountered: