[X] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:
What is the current behavior?
Issue Number: #2732
What is the new behavior?
Added new option addNewlineAtEnd to BuildSchemaOptions, which appends a newline at the end of the generated GraphQL SDL file when set to true. If the option is set to false or omitted, the SDL file will be generated without adding an extra newline at the end.
This option is applicable only in the code-first approach.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #2732
What is the new behavior?
Added new option
addNewlineAtEnd
toBuildSchemaOptions
, which appends a newline at the end of the generated GraphQL SDL file when set totrue
. If the option is set tofalse
or omitted, the SDL file will be generated without adding an extra newline at the end. This option is applicable only in the code-first approach.Does this PR introduce a breaking change?
Other information