** (Mix) Expected the schema, "shipmentroutes", to be a valid module name
mix phx.gen.html, phx.gen.json and phx.gen.context expect a
context module name, followed by singular and plural names of
the generated resource, ending with any number of attributes.
For example:
mix phx.gen.html Accounts User users name:string
mix phx.gen.json Accounts User users name:string
mix phx.gen.context Accounts User users name:string
The context serves as the API boundary for the given resource.
Multiple resources may belong to a context and a resource may be
split over distinct contexts (such as Accounts.User and Payments.User).
It doesn’t give any reasoning for why it isn’t a valid module name, so I have no idea how to fix this
Interesting, I ended up changing the name to make it work but still don’t understand why mine wouldn’t work. It does start with the alphabet and it is a singular name no?
A-Z means a capital letter not just any letter in the alphabet. Elixir module names must always start with a capital letter (unless explicitly prefixing with :)