-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Add support for decoding event streams #686
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.
Query around the flipping of max values for an Int64 - unsure if this was intentional or not but it doesn't feel like it
@@ -1378,7 +1378,7 @@ extension IoTEventsData { | |||
} | |||
|
|||
public func validate(name: String) throws { | |||
try self.validate(self.timeInMillis, name: "timeInMillis", parent: name, max: 9223372036854775807) | |||
try self.validate(self.timeInMillis, name: "timeInMillis", parent: name, max: -9223372036854775808) |
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.
Was this meant to switch to the minimum value for an Int64?
@@ -583,7 +583,7 @@ extension KafkaConnect { | |||
} | |||
|
|||
public func validate(name: String) throws { | |||
try self.validate(self.revision, name: "revision", parent: name, max: 9223372036854775807) | |||
try self.validate(self.revision, name: "revision", parent: name, max: -9223372036854775808) |
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.
As above
@@ -1630,7 +1630,7 @@ extension KafkaConnect { | |||
} | |||
|
|||
public func validate(name: String) throws { | |||
try self.validate(self.revision, name: "revision", parent: name, max: 9223372036854775807) | |||
try self.validate(self.revision, name: "revision", parent: name, max: -9223372036854775808) |
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.
As above
Related PRs soto-project/soto-core#566, soto-project/soto-codegenerator#74