Disable spec generation for specific files in nest-cli.json
I'm submitting a...
[ ] Regression
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
At the moment I have to add --no-spec to the nest generate command for specific files I don't want to be generated spec-files for.
Expected behavior
I would prefer to be able to configure this behaviour by nest-cli.json file. For example in this way:
"spec": {
"class": false,
"component": true,
"module": false,
"service": true
}
Maybe this is already possible and I have missed this in the documentation?
What is the motivation / use case for changing the behavior?
Laziness ;-)
@rweisse but witch controller don't work :(
Hey has anyone picked this up? I would like to work on this if no-one already is.
Feel free to proceed with this @utsav-upendra :)
Should be closed as PR #527 has been merged?
You're right. Thanks for noticing @egodsk!
Just add to nest-cli.json : "generateOptions": { "spec": false }