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
Mistyping with an underscore instead of hyphen results in a different error than expected
Note the underscore between uuid and v7
mix ash.gen.resource Scratch.Tweet --uuid_v7-primary-key id -a body:string -r belongs_to:owner:Scratch.User
** (Mix) Could not invoke task "ash.gen.resource": 1 error found!
--uuid_v7-primary-key : Missing argument of type string
Expected behavior
I'm getting the correct error when I use another valid symbol ~ here
mix ash.gen.resource Scratch.Tweet --uuid~v7_primary_key id -a body:string -r belongs_to:owner:Scratch.User
** (Mix) Could not invoke task "ash.gen.resource": 1 error found!
--uuid~v7_primary_key : Unknown option. Did you mean --uuid-primary-key?
Mistyping with an underscore instead of hyphen results in a different error than expected
Note the underscore between uuid and v7
Expected behavior
I'm getting the correct error when I use another valid symbol
~
hereRuntime
Erlang/OTP 27 [erts-15.1] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]
Elixir 1.17.3 (compiled with Erlang/OTP 27)
Mac 15.0.1
Ash 3.4.35
Igniter 0.3.72
Additional context
The project was created with igniter_new-0.4.5 with
mix igniter.new scratch --install ash
The text was updated successfully, but these errors were encountered: