-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GraphQL Mutation support for datawarehouse. (#1978)
## Why make this change? Issue: #1976. GraphQL Mutations need to be supported for data warehouse. Reasons for listed changes listed in issue document. This pr does not cover REST addition for insert/patch etc. Will be done in following pr's . issue tracking: #1982 ## What is this change? 1. Adding a DbOperationResult type that will be the return type for all dw mutation operations. 2. Generating DWSQL queries for create, update, delete and upsert queries similar to that of other data sources. 3. Adding model directive to DW mutation nodes so that we can determine which db they belong to. ## How was this tested? Performed integration tests: ![image](https://github.com/Azure/data-api-builder/assets/124841904/59d896a6-b5c3-41d8-9fc6-f6a277dcfe81) - [x] Unit Tests Unit tests added for all dw scenarios.
- Loading branch information
Showing
15 changed files
with
888 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.