Skip to content
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

better representation for numeric sqs-message-attributes #53

Closed
tomerd opened this issue Apr 2, 2020 · 1 comment
Closed

better representation for numeric sqs-message-attributes #53

tomerd opened this issue Apr 2, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@tomerd
Copy link
Contributor

tomerd commented Apr 2, 2020

https://github.com/swift-server/swift-aws-lambda-runtime/pull/46/files#diff-46c15e7ad33f3c55f1eff630cb7c7d6aR30

https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html under "Message Attribute Data Types"

Number attributes can store positive or negative numerical values. A number can have up to 38 digits of precision, and it can be between 10^-128 and 10^+126.

right now using string as a stop gap, could use Foundation's Decimal or come up with our own BigNumber abstraction

@sebsto
Copy link
Contributor

sebsto commented May 29, 2024

Moved to Lambda event project
swift-server/swift-aws-lambda-events#53

@sebsto sebsto closed this as completed May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants