-
Notifications
You must be signed in to change notification settings - Fork 5
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
resolves #4, resolves #9, resolves #10, resolves #11 #12
Conversation
@@ -3,7 +3,7 @@ apply plugin: 'net.corda.plugins.cordapp' | |||
|
|||
cordapp { | |||
targetPlatformVersion 7 | |||
minimumPlatformVersion 7 | |||
minimumPlatformVersion 6 |
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.
Worth adding a comment explaining why it's the minimum version
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.
Updated commit message
@@ -208,6 +209,27 @@ class JavaInstantSerializer : CustomSerializer<Instant>, | |||
} | |||
} | |||
|
|||
/** | |||
* Serializer for an [Duration] representing it as a JSON string value formatted as an ISO-8601 timestamp. |
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.
Misleading comment about 'timestamp', it's actually ISO duration format
override fun generateSchema(generator: JsonSchemaGenerator): JsonObject { | ||
return mapOf( | ||
"type" to "string", | ||
"format" to "date-time" |
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.
The format is not date-time, but ISO duration
fixes for various issues based on testing with obligation cordapp
Change summary: