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
Laravel make commands allow overwriting the stub file of a make command by supplying a custom template at /stubs/<name>.stub with customized content. It would be lovely if this project could adopt that practice to allow customizing the generated stubs with project-specific code.
The necessary code can be (for example) observed in the ScopeMakeCommand.
The text was updated successfully, but these errors were encountered:
I've no intention working on this and I'm not sure it's worth it.
You use the make commands when you start out with this lib, at which point don't yet know what you need customized.
But once you do and really add a lot of types, and I've seen this, I've a project with 500+ queries/mutations/types/etc, you just copypaste existing classes and it's so much faster anyway 🤷🏼
Summary
Laravel make commands allow overwriting the stub file of a make command by supplying a custom template at
/stubs/<name>.stub
with customized content. It would be lovely if this project could adopt that practice to allow customizing the generated stubs with project-specific code.The necessary code can be (for example) observed in the ScopeMakeCommand.
The text was updated successfully, but these errors were encountered: