Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why make this change?
As discussed in #692 and Discussion #1479 we want to be able to force the GraphQL to use the GQL best practices, in stead of 1 on 1 from the source.
As I am new to this codebase, I created a Pull-Request draft to be able to gather feedback and fix certain issues before creating the actual PR.
What is this change?
I've added the option
force-naming-style
on 2 different levels in the configuration:I'm unsure about the force-naming-style parameter name though, please advise for any better name.
TODO
https://github.com/MicrosoftDocs/data-api-builder-docs/blob/main/data-api-builder/configuration-file.md
But I'd like to do that when the changes are final.
How was this tested?
For the configuration test I have added a new table "Movies" to the DatabaseSchema-MsSql.sql and dab-config.MsSql.json in the Service.Tests folder.
Sample Request(s)
Not available.