You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report! I won't have time to get to this soon likely, but it should be a pretty straight-forward thing to add. Marked as good first issue.
Describe the bug
mix ash_phoenix.gen.live doesn't add fields to show.ex, but they are added to form_component.ex and index.ex
To Reproduce
mix ash_phoenix.gen.live AshActivityPlanner.Planner AshActivityPlanner.Planner.Participant
in
https://github.com/jarlah/ash-activity-planner
(which will ofc now overwrite the existing live view
Expected behavior
Fields should also be added to show.ex, as I have modified it after running the generator in https://github.com/jarlah/ash-activity-planner/blob/main/lib/ash_activity_planner_web/live/participant_live/show.ex#L18
Additional context
Forum discussion:
https://elixirforum.com/t/how-to-convert-mix-gen-live-to-ash-compatible-live-view/59785
The text was updated successfully, but these errors were encountered: