-
Notifications
You must be signed in to change notification settings - Fork 356
Adding support for source as an Object for CLI #800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
abhishekkumams
merged 39 commits into
main
from
dev/abhishekkuma/add-support-for-stored-procedure
Oct 6, 2022
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
5741634
adding support for source as an Object
09d50f1
adding support for updating source
af07c76
fix formatting
75ef8a2
added new tests
cdd12e3
fix formatting
372dd06
added test for update entity
ac96111
fix formatting
c14a65d
Merge branch 'main' into dev/abhishekkuma/add-support-for-stored-proc…
abhishekkumams c225488
adding test for engine
d161c31
Merge branch 'dev/abhishekkuma/add-support-for-stored-procedure' of h…
4f88d80
updating test
2693f17
add test for sqlMetadataProvider
f2e9ff7
fix formatting
bd72da3
Merge branch 'main' into dev/abhishekkuma/add-support-for-stored-proc…
abhishekkumams 1a82d95
Merge branch 'main' into dev/abhishekkuma/add-support-for-stored-proc…
abhishekkumams af80e01
adding test for parse source params
3dfbf52
updating comments
302a38b
simplyifying functions
f4d90d1
removed duplication
769a1d1
updated logic for object to object conversion
b18a1a6
symplyifying code
0e6449a
fix formatting
3faf4c6
Merge branch 'main' of https://github.com/Azure/data-api-builder into…
3403ad3
fix formatting
e1102dc
updating dictionary assertion method
f1a672b
added test summary
e9c61e6
Merge branch 'main' of https://github.com/Azure/data-api-builder into…
a58d75c
fix identation
8c4f5ad
using enum type instead of string
b3b463b
fixing vulnerability
5203aae
uncommented test
2f9fde8
Merge branch 'main' into dev/abhishekkuma/add-support-for-stored-proc…
abhishekkumams d5d9916
fix formatting
d3ee498
fix formatting
89b8370
fix formatting
8278eae
resolving merge conflicts
32baca6
fixing build
84cde82
making sourceToEnumConvertor case insensitive
d66bc5a
fix formatting
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment with other PR, did you look at using Enum directly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not the same here, as enum value and enum fields do not vary by case only. example
stored-procedureThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use Enum. There is a way to write customization to serialize or deserialize enum. I added some link to other comment thread.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't find a direct way of converting to Enum type, directly in the commandLine Parser library, one way was to overwrite the Parser with TEnum Class, which was complex.
The links you provided was for sereialization/deserialization from json to enum and back.
This is a different case, although I have simplified the code by converting to SourceType directly after we get it from command line.