We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Lint is complaining that ApproximateReceiveCount does not exist when setting attributeNames in Consumer.create as QueueAttributeName doesn't have it.
attributeNames
Consumer.create
Previous versions it was a string so we didn't have issues, I guess someone forgot it.
Too small to create an example
Try to fill out attributeNames in Consumer.create with [ApproximateReceiveCount] value, lint will complain __
ApproximateReceiveCount
Lint shouldn't complain, the type QueueAttributeName should contain ApproximateReceiveCountshouldn't
None
No response
8.1.3
The text was updated successfully, but these errors were encountered:
This takes the type from the AWS SDK, so they define what is correct here.
The comment here should probably be updated: https://github.com/bbc/sqs-consumer/blob/main/src/types.ts#L10
To change the example to simply link here: https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sqs/Variable/QueueAttributeName/
But aside from that, this isn't a bug.
Sorry, something went wrong.
Thanks @nicholasgriffintn, I added a comment here aws/aws-sdk-js-v3#5671, once fixed I guess the library needs to use the latest version of AWS SDK.
🎉 This issue has been resolved in version 8.1.4 🎉
The release is available on:
Your semantic-release bot 📦🚀
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Successfully merging a pull request may close this issue.
Describe the bug
Lint is complaining that ApproximateReceiveCount does not exist when setting
attributeNames
inConsumer.create
as QueueAttributeName doesn't have it.Previous versions it was a string so we didn't have issues, I guess someone forgot it.
Your minimal, reproducible example
Too small to create an example
Steps to reproduce
Try to fill out
attributeNames
inConsumer.create
with [ApproximateReceiveCount
] value, lint will complain __Expected behavior
Lint shouldn't complain, the type QueueAttributeName should contain ApproximateReceiveCountshouldn't
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
Package version
8.1.3
AWS SDK version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: