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
Currently the default order by input field is always named OrderByClause and if using custom order by's it will generate based on different options inside of the OrderByDirective.
In our system we would like to add a rule which forces all input types to be suffixed with Input, however we cannot control the naming generation here.
What I am proposing is a solution where we move all the name generation into its own class with a contract so all the responsibility for the naming is in one place.
This class could have config options for setting a suffix and prefix to make it simple to change this part, and if more customisation would be needed, then people can just make a custom implementation.
The text was updated successfully, but these errors were encountered:
Currently the default order by input field is always named
OrderByClause
and if using custom order by's it will generate based on different options inside of theOrderByDirective
.In our system we would like to add a rule which forces all input types to be suffixed with
Input
, however we cannot control the naming generation here.What I am proposing is a solution where we move all the name generation into its own class with a contract so all the responsibility for the naming is in one place.
This class could have config options for setting a suffix and prefix to make it simple to change this part, and if more customisation would be needed, then people can just make a custom implementation.
The text was updated successfully, but these errors were encountered: