You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
For the code below, the queue is a cloud resource. If a lambda function accesses the queue, in the generated compute module code, there should be a client building statement for the queue. However, currently, the generated statement is incorrect. It does not use 'def.Queue' as its initialized class but instead uses 'Queue'.
// User codeimport*asdeffrom"@plutolang/pluto";constqueue=newdef.Queue();// Generated compute moduleimport*asdeffrom"@plutolang/pluto";constqueue=Queue.buildClient(...);// Wrong!constqueue=def.Queue.buildClient(...);// Expected
2. What did you expect to see? (Required)
Create the client by utilizing the initialized class that was used by the user.
3. What did you see instead (Required)
Create the client using a hard-coded approach.
4. What is your Pluto components version? (Required)
0.0.5
The text was updated successfully, but these errors were encountered:
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
For the code below, the queue is a cloud resource. If a lambda function accesses the queue, in the generated compute module code, there should be a client building statement for the queue. However, currently, the generated statement is incorrect. It does not use 'def.Queue' as its initialized class but instead uses 'Queue'.
2. What did you expect to see? (Required)
Create the client by utilizing the initialized class that was used by the user.
3. What did you see instead (Required)
Create the client using a hard-coded approach.
4. What is your Pluto components version? (Required)
0.0.5
The text was updated successfully, but these errors were encountered: