Replies: 4 comments 11 replies
-
What exactly do you mean, @t1nky ? |
Beta Was this translation helpful? Give feedback.
-
I found out that runtime iteration is already happening in some limited way upon creating the endpoints and middlewares. |
Beta Was this translation helpful? Give feedback.
-
I found an interesting thing. That approach is the recommended way for serializing Map/Set: |
Beta Was this translation helpful? Give feedback.
-
It will appear this way, @t1nky
🚀 Version 20.15.0 |
Beta Was this translation helpful? Give feedback.
-
Currently, it is possible to send Map and Set as an output, but JS cannot serialize them:
![image](https://private-user-images.githubusercontent.com/1833969/298424351-fad5fb6f-18ce-4ba6-9450-72ff7af6dd47.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3NzA3NTQsIm5iZiI6MTczOTc3MDQ1NCwicGF0aCI6Ii8xODMzOTY5LzI5ODQyNDM1MS1mYWQ1ZmI2Zi0xOGNlLTRiYTYtOTQ1MC03MmZmN2FmNmRkNDcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTdUMDUzNDE0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjhlNDRiY2NkYjI2ODQ5NmUxYzc1MWVmZmQ1N2JmMDViMDc5YzE2M2QzOWFjZDVjY2Q3ZmEwNjRlNDFmMmYxNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.YizKbW4F64RNiutaU7qKdySdYzHZLBRqDUug8Flme90)
It might be helpful to restrict possible output types. Also, there are functions and BigInt.
Beta Was this translation helpful? Give feedback.
All reactions