Describe the bug
Currently, the ash.gen.resource generator generates singular names in the postgres section. They should be pluralized since this is the usual convention and what users probably expect as default.
To Reproduce
mix ash.gen.resource MyApp.Accounts.User --uuid-primary-key id --attribute email:ci_string:required:public --extend postgres
generates this postgres section
postgres do
table "user"
repo MyApp.Repo
end
Expected behavior
This postgres section would have to be generated instead
Describe the bug Currently, the
ash.gen.resource
generator generates singular names in thepostgres
section. They should be pluralized since this is the usual convention and what users probably expect as default.To Reproduce
generates this
postgres
sectionExpected behavior This
postgres
section would have to be generated instead