forked from flyteorg/flyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add datetime validation Signed-off-by: Lucia Pasarin <[email protected]> * Clean up Signed-off-by: Lucia Pasarin <[email protected]> * Adjusted validation + added test Signed-off-by: Lucia Pasarin <[email protected]> * Use datetime validation as part of parameter map validation Signed-off-by: Lucia Pasarin <[email protected]> * Add test for map validation + fix part of datetime in map validation Signed-off-by: Lucia Pasarin <[email protected]> * Fix validation by splitting intermediate steps Signed-off-by: Lucia Pasarin <[email protected]> * Clean up Signed-off-by: Lucia Pasarin <[email protected]> * Simplify validation since field should only be datetime in this case because it is protobuf generated Signed-off-by: Lucia Pasarin <[email protected]> * Remove //go:build integration Signed-off-by: Lucia Pasarin <[email protected]> * Fix README goimports + add validation in literal map too Signed-off-by: Lucia Pasarin <[email protected]> * Complete test cases Signed-off-by: Lucia Pasarin <[email protected]> * Stop using reflection for isDateTime check Signed-off-by: Lucia Pasarin <[email protected]> * Use direct access instead of casting + fix string format in test Signed-off-by: Lucia Pasarin <[email protected]> * Throw error in case of nil datetime + fix assertion Signed-off-by: Lucia Pasarin <[email protected]> * Add one more test case to check for Instant.MIN Signed-off-by: Lucia Pasarin <[email protected]> * Fix flaky tests Signed-off-by: Lucia Pasarin <[email protected]> * Fix test Signed-off-by: Lucia Pasarin <[email protected]> Co-authored-by: Lucia Pasarin <[email protected]>
- Loading branch information
Showing
3 changed files
with
223 additions
and
53 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