-
Notifications
You must be signed in to change notification settings - Fork 121
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
Added Exceptions to Temporal #825
Conversation
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.
Good start! Looks like the build failed because of some checkstyle issues, so please take a look at those.
aws-api-appsync/src/test/java/com/amplifyframework/core/model/temporal/TemporalDateTest.java
Outdated
Show resolved
Hide resolved
aws-api-appsync/src/main/java/com/amplifyframework/core/model/temporal/Temporal.java
Outdated
Show resolved
Hide resolved
aws-api-appsync/src/main/java/com/amplifyframework/api/aws/TemporalDeserializers.java
Outdated
Show resolved
Hide resolved
aws-api-appsync/src/main/java/com/amplifyframework/api/aws/TemporalDeserializers.java
Outdated
Show resolved
Hide resolved
aws-api-appsync/src/main/java/com/amplifyframework/api/aws/TemporalDeserializers.java
Outdated
Show resolved
Hide resolved
aws-api-appsync/src/test/java/com/amplifyframework/core/model/temporal/TemporalTimeTest.java
Outdated
Show resolved
Hide resolved
aws-api-appsync/src/main/java/com/amplifyframework/core/model/temporal/Temporal.java
Outdated
Show resolved
Hide resolved
aws-api-appsync/src/main/java/com/amplifyframework/api/aws/TemporalDeserializers.java
Show resolved
Hide resolved
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.
Looking better! It looks like there some of the existing tests are failing. Now that the Temporal constructors can throw an IllegalArgumentException
, you probably need to add throws IllegalArgumentException
to any existing test method signatures that use them.
Now I'm able to fix all issues |
aws-api-appsync/src/main/java/com/amplifyframework/api/aws/TemporalDeserializers.java
Outdated
Show resolved
Hide resolved
…poralDeserializers.java
aws-api-appsync/src/main/java/com/amplifyframework/api/aws/TemporalDeserializers.java
Outdated
Show resolved
Hide resolved
…poralDeserializers.java
Thanks for helping a lot |
Thanks so much for contributing! |
My Pleasure |
aws-api-appsync/src/main/java/com/amplifyframework/core/model/temporal/Temporal.java
Outdated
Show resolved
Hide resolved
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'm going to merge this now, so we can get it into our next release. Thanks again @hellosagar!
Give me a second sir let me made those doc changes |
Push done for doc changes |
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.