-
Notifications
You must be signed in to change notification settings - Fork 356
Handling datetime types #1636
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
ayush3797
merged 110 commits into
main
from
dev/agarwalayush/bugWithHandlingTimeDataTypes
Dec 6, 2023
Merged
Handling datetime types #1636
Changes from all commits
Commits
Show all changes
110 commits
Select commit
Hold shift + click to select a range
800de2b
Add support for timespan
Aniruddh25 827ba69
Merge origin/main
Aniruddh25 0f12bd1
remove unused using
Aniruddh25 7367244
Add a case for TimeSpanType in ResolverMiddleware
Aniruddh25 221baad
enclose name in []
Aniruddh25 d210db2
Support timespan as stored procedure parameter
Aniruddh25 296511f
Parse with invariant culture and assume UTC
Aniruddh25 8c23ffe
StoredProc default paramvalue
Aniruddh25 b000168
TimeSpan Iso8601 format is PT23H59M59.999999S
Aniruddh25 1c35eb5
fixing tests
f9ab1d5
fixing MsSql tests
25c86a1
Merge remote changes
Aniruddh25 1dd0f47
Add timespan test in supported types
Aniruddh25 cd9ec5a
Fix timespan_types column name
Aniruddh25 efb3007
Merge branch 'main' into supportTimeSpan
abhishekkumams e80ef05
Fix comparison of timespan data type
Aniruddh25 1aa7b65
Missing else
Aniruddh25 d32a767
resolving merge conflicts
d5d97fd
adding timespan type
bb581ff
resolving merge conflicts
09e85b3
fix formatting
9923fc8
Merge branch 'main' into supportTimeSpan
Aniruddh25 3c4eba3
handling nullable types
507802e
resolving nits
eafb08e
Merge branch 'main' of https://github.com/Azure/data-api-builder into…
d852138
fixing sql type
b84874f
Add TimeOnly format for HotChocolate
9e1a93c
fix formatting
84e11e6
Update dab-config.MsSql.json
abhishekkumams 5549e02
Merge branches 'supportTimeSpan' and 'supportTimeSpan' of https://git…
d8d8f26
Merge branch 'main' of https://github.com/Azure/data-api-builder into…
38a9e24
fix test
718941b
fixing mysql tests
910c2d7
fixing tests
5e01c3c
fix formatting
fc0be04
fixing tests
ebd7725
fixing tests
0d0b263
fixing tests
33edfaa
using Hotchocolate.Types.NodaTime
907723b
resolving conflicts
9883d87
fix formatting
a3e968e
fixing tests
de93200
adding tests
1840105
adding tests for different time format
0d0e1a3
Merge branch 'main' of https://github.com/Azure/data-api-builder into…
4a19378
using max dateTime in the test to check no overflow issue
a6fa28f
fixing PGSQL tests
a9c396d
fixing tests
bdb5fcc
fixing mysql tests
a38db0e
adding more tests
dec4d15
nit fixes
127af62
nit fix
7ff72b8
nit fix
2b55cd4
updating test
7694c60
Merge branch 'main' into supportTimeSpan
abhishekkumams a05134b
added OData tests as well
de2f48a
Update src/Service.Tests/SqlTests/GraphQLSupportedTypesTests/GraphQLS…
abhishekkumams 9676493
Update src/Service.Tests/SqlTests/GraphQLSupportedTypesTests/GraphQLS…
abhishekkumams ecec68e
fix formatting and adding tests
0d27f42
resolving merge conflicts
30a1336
fixing tests
f126b83
Update src/Core/Services/TypeHelper.cs
abhishekkumams bd462fa
Handling datetime types
ayush3797 c849591
uncommitted changes
ayush3797 0869689
handling datetime
ayush3797 a4fbfed
reverting a change
ayush3797 55124cf
Merge with supportTimespan changes
ayush3797 bc5abb4
tests for datetime2
ayush3797 5b4a99c
Moving datetime2 tests to Mssql file
ayush3797 7ef116b
Merge branch 'main' into dev/agarwalayush/bugWithHandlingTimeDataTypes
ayush3797 46477e0
resolving conflicts
ayush3797 b6dc981
Merge branch 'dev/agarwalayush/bugWithHandlingTimeDataTypes' of https…
ayush3797 6783bdd
removing unintended change
ayush3797 77e9220
Merge branch 'main' into dev/agarwalayush/bugWithHandlingTimeDataTypes
ayush3797 f8e184e
undoing changes from time pr
ayush3797 976f4e7
build fix
ayush3797 4de8f1e
filter tests for datetime types specific to msssql
ayush3797 5ab415e
get by pk for REST
ayush3797 077a265
moving tests to one place
ayush3797 fce32e0
fixing snapshots
ayush3797 8dd5b60
updating configs
ayush3797 452f7f9
adding tests
ayush3797 7e56126
adding tests
ayush3797 59dba5c
some cleanup
ayush3797 49d415e
adding more tests
ayush3797 1eea2dd
removing dup code
ayush3797 c259d69
adding back tests
ayush3797 cc6c616
adding more tests
ayush3797 f982e2d
Merge branch 'main' into dev/agarwalayush/bugWithHandlingTimeDataTypes
ayush3797 7ebf6ba
Addressing review + allowing z notation
ayush3797 f29c8c9
formatting fix
ayush3797 f9f5ee2
updating parsing logic
ayush3797 955033c
merge with main
ayush3797 9e3d009
formatting fix
ayush3797 d7f6c87
formatting fix
ayush3797 c61e91a
Adding conditional to populate dbtype for datetime/datetimeoffset typ…
ayush3797 c688226
Merge branch 'main' into dev/agarwalayush/bugWithHandlingTimeDataTypes
ayush3797 93794d5
adding test for z notation insertions
ayush3797 d72e69e
Merge branch 'main' into dev/agarwalayush/bugWithHandlingTimeDataTypes
ayush3797 661e271
addressing review
ayush3797 8dc9b41
Addressing review/ renaming class
ayush3797 2ac6608
added more tests
ayush3797 9cd00cf
renaming class/fixing build failure due to extended new() declaration
ayush3797 9b5f379
Merge branch 'main' into dev/agarwalayush/bugWithHandlingTimeDataTypes
ayush3797 3d42007
moving back constant/correct test displaynames
ayush3797 3322c6e
Moving mssql specific code to its class
ayush3797 b527f17
Merge branch 'main' into dev/agarwalayush/bugWithHandlingTimeDataTypes
ayush3797 89b93ed
fixing build failures
ayush3797 b3f0f07
ignoring datetime test for dwsql for now
ayush3797 1f4802b
Merge branch 'main' into dev/agarwalayush/bugWithHandlingTimeDataTypes
ayush3797 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
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
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.
Uh oh!
There was an error while loading. Please reload this page.