phoenix
phoenix copied to clipboard
Peace of mind from prototype to production
New apps need finch as a prod dependency with swoosh configured to use it: config :swoosh, :api_client, Swoosh.ApiClient.Finch We also need to add it to the generated sup tree: ```...
The idea is to have a function component to `flash` messages, so when no messages are present, we avoid printing an empty `` tag. ```heex User created. ```
This allows us to provide a `--repo` flag to `mix phx.gen.schema` It seems support is already built in for this with `Mix.Phoenix.Schema` so I simply added it to the `opts`...
Ref https://github.com/phoenixframework/phoenix/pull/4793#issuecomment-1119687158 ### Tasks - [x] Update templates with latest HTMLFormatter rules - [x] Fix integration tests - [x] Fix unit tests - [x] Update and fix CI ### Testing...
This is an attempt at #4451 Any feedback is welcome!
### Environment * Elixir version (elixir -v): 1.13 * Phoenix version (mix deps): "~> 1.6.4" * Operating system: Mac OS 12.0.1 ### Expected behavior ``` scope "/", HelloLiveWeb do pipe_through...
This is a draft solution for the discussion at https://elixirforum.com/t/websocket-connection-validation-with-phoenix-channels/48831 Previously if socket connect handler returns an error then websocket upgrade would be rejected. Browser websocket api doesn't support getting...
I need to look into any implications of this, but I'd like to support router scopes where you can match on multiple hosts. For example, using LiveView's `live` routes today...
Hey there, This is my first time doing this thing and I saw some information was missing in regards to doing multiple accounts within phx.gen.auth. I believe this is the...
ref: https://github.com/dashbitco/bytepack_archive/blob/main/apps/bytepack_web/lib/bytepack_web/request_context.ex