Closed Kralizek closed 1 year ago
Reproducible. Needs review with the team.
The same error also occurs when the function returns T[]
instead of Task<T[]>
@ashishdhingra any update?
@ashishdhingra any update?
@Kralizek Apologies for delay. This is currently being prioritised per my discussion with the team and should be fixed soon.
@ashishdhingra any update?
@Kralizek Apologies for delay. This is currently being prioritised per my discussion with the team and should be fixed soon.
Thanks! Sorry for the ping!
@Kralizek This isn't reproducible in the latest (0.13.2) version of Amazon.Lambda.Annotations. Can you try again with the latest to make sure I'm not missing something. I know we have done a lot of rework on detecting Task
usages so I think we might have addressed this issue by accident.
I'll try to check sometimes in the coming week.
Thanks
I'm going to close this as I really believe we fixed this with previous refactoring of the library. If you find the issue still exists feel free to reopen the issue or create a new one.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Damn, I lost this ticket in the sea of reads and forgot to test it. My bad.
@Kralizek No worries, I definitely understand.
Describe the bug
When trying to build a function written using the new Annotation framework that returns an array, the build fails
Expected Behavior
It should be possible to create a function that returns an array of items.
Current Behavior
Reproduction Steps
Possible Workaround
Returning a list works without problems
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
Amazon.Lambda.Annotations: 0.6.0-preview Amazon.Lambda.Core: 2.1.0 Amazon.Lambda.Serialization.SystemTextJson: 2.3.0
Targeted .NET Platform
Lambda dotnet6 runtime
Operating System and version
Whatever Lambda uses