d4rkstar opened a new issue, #100: URL: https://github.com/apache/openserverless/issues/100
- [X] I have searched the [issues](https://github.com/apache/openserverless/issues) of this repository and believe that this is not a duplicate. ### Ⅰ. Issue Description It seems that the whisk-system action psql is not returning valid json. ### Ⅱ. Describe what happened While porting `ops devel psql` i noticed that the output from the system action is not valid json. Example ``` $ ops devel psql sql "SELECT * FROM demo.CONTACTS" [{'id': 1, 'name': 'User', 'email': '[email protected]', 'phone': '393333456789', 'message': 'Hello!'}] ``` The main issue with that JSON-like string is that it uses single quotes (') instead of double quotes (") as required by valid JSON. ### Ⅲ. Describe what you expected to happen To have a valid json ### Ⅳ. How to reproduce it (as minimally and precisely as possible) 1. Invoke the system action psql with a request, sending a basic query 2. Check the output ### Ⅴ. Anything else we need to know? No ### Ⅵ. Environment: - Kind 1.32.0 - OPS CLI version: 0.1.0-2501041342.dev -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
