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
Returning an array as the top level response from an operation causes code to be generated which does not compile.
Working code.
Broken code eg:
const marshal = (statusCode: number, responseBody: any): string => { let marshalledBody = responseBody; switch(statusCode) { case 200: marshalledBody = JSON.stringify(Array<AssetResponse>ToJSON(marshalledBody)); break;
Use spec from #863
No response
0.23.70
Typescript, Java, Python
osx
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Returning an array as the top level response from an operation causes code to be generated which does not compile.
Expected Behavior
Working code.
Current Behavior
Broken code eg:
Reproduction Steps
Use spec from #863
Possible Solution
No response
Additional Information/Context
No response
PDK version used
0.23.70
What languages are you seeing this issue on?
Typescript, Java, Python
Environment details (OS name and version, etc.)
osx
The text was updated successfully, but these errors were encountered: