ecto_resource
ecto_resource copied to clipboard
Allow the suffix to be manually set
Sometimes the automatically generated suffix might not match what we want.
For example SomeSchema.Nested by default generates as all_nested rather than all_some_schema_nested. This update will let us pass suffix: "some_schema_nested" to manually set this.
Open to feedback on how to approach this, but the PR was simple enough to go ahead and do as a suggestion (and solves for my use case)