Comments (6)
Please share the details of the collisions you hit. Thanks!
from phoenix.
I'm happy to open a PR for the proposed solution. Just want to see if there is a more apt name than depends-on
or if there is some configuration I am missing.
from phoenix.
I'm a dummy. That's what the --app
flag does.
from phoenix.
Ok actually I'm not as dumb as I thought (what a sentence).
There are some subtle differences that should be addressed. When passing the --app
flag there are other collisions in the generator.
from phoenix.
Ah yeah sorry I've been working on the PR to fix it. The collisions were in the generated app name. While the parent folder reflects the name passed as the argument (bar
in my example) the contents the folder reflect value of the --app
flag.
The most clear example of this was in the apps/bar/mix.exs
that started with:
defmodule Foo.MixProject do
As well as apps/bar/lib/foo.ex
from phoenix.
PR #5691 fixes things in the context of the test suite as well as local manual testing.
from phoenix.
Related Issues (20)
- Modal component in CoreComponents closes when clicked outside, may result in data loss HOT 4
- `ArgumentError` for local redirect path segments starting with `%` too broad? HOT 1
- Generate long polling support on new apps
- Running MIX_ENV=docs mix docs results in compilation errors HOT 3
- Deleting umbrella :context_app config -> all generator files end up in *_web HOT 1
- Use mix format? HOT 1
- Miskeeping a `end` keyword in the context module while expanding it with `mix phx.gen.context` HOT 1
- :debug_heex_annotations mess up live_components HOT 2
- Response cookies must be set using cowboy_req HOT 2
- Bandit HTTP1.Handler error log for not handling :now_available when falling back to longpoll HOT 3
- Should it be allowed to generate live/html/json/... without attributes? HOT 2
- Context generator does not respect `--repo` option
- the umbrella generator is messy
- LiveView falls back to Longpolling too often HOT 15
- Does not seem possible to use assign in custom error html HOT 2
- `row_click` on CoreComponents `<.table>` component HOT 1
- Deprecation warning on startup HOT 1
- phx.gen.cert cannot generate a certificate on 2024-02-29 with a valid end date HOT 1
- Longpoll fallback is preserved after server restart and browser reload HOT 25
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phoenix.