Closed
Description
Most of these would/could apply to all generators. Let me know what you think and I can put together a PR :
--superclass CLASSNAME
It may also be nice to set a default for this. For me, I never use any of these base_*
files graphql-ruby installs 🗑.
But, it's not uncommon for one to want to inherit from a different class.
--name
Name of generated type. API does not always reflect Rails model names and sometimes these names reflect poor legacy concepts that one wishes to paper over with an API.
--ingore-columns
List of columns to ignore when generating, e.g.
--ignore-columns some_legacy_shit,some_private_thangz
gql:mutation
While argument :attributes
is sorta nice convention not all APIs do this. Would be good to have some options here, just not sure what. Something to think about.
Metadata
Metadata
Assignees
Labels
No labels