Re: [elixir-core:11315] Dependency/Library as part of umbrella?

2023-03-10 Thread Zach Daniel
This does actually strike a chord for me and I'm realizing this is likely a related question or perhaps the same question in another form. Is there some way to define a module that a dependency can use at compile time or at runtime without these warnings? Like a module that you want compiled

Re: [elixir-core:11314] Dependency/Library as part of umbrella?

2023-03-10 Thread Brandon Gillespie
On 3/10/23 3:33 PM, Austin Ziegler wrote: 1. The warning that I think is being discussed is a compile warning for the library *dependency*, not for the hosting application, which matches what I have seen. This. I'm working on creating a focused way of reproducing it, but need some

Re: [elixir-core:11313] Dependency/Library as part of umbrella?

2023-03-10 Thread Austin Ziegler
1. This is from code that last ran on Elixir 1.10 (it is currently offline with no plan to bring it back online). 2. The dependencies include Phoenix (1.5.4) and phoenix_html (2.14.2). It’s referring not to MyApp.Repo, but to Phoenix.View. 3. Phoenix and phoenix_html were compiled

Re: [elixir-core:11312] Dependency/Library as part of umbrella?

2023-03-10 Thread José Valim
Can you please provide a small app that reproduces the issue? Even if the module comes from a transitive dependency, Elixir should be able to see it and avoid the warning. On Fri, Mar 10, 2023 at 5:00 PM Brandon Gillespie wrote: > I'm in the process of breaking our larger/monolithic app into

[elixir-core:11311] Dependency/Library as part of umbrella?

2023-03-10 Thread Brandon Gillespie
I'm in the process of breaking our larger/monolithic app into separate repos so we can bring the pieces in as dependencies on other apps. However, a key problem we are running into is ultimately around the database models. We're working on a separate thing around most of that, but at the