Please remove/split struct or array[struct] definitions

Place to report issues and suggest improvements to the API documentation.
User avatar
PennyJim
Fast Inserter
Fast Inserter
Posts: 104
Joined: Wed Jan 18, 2023 3:49 am
Contact:

Please remove/split struct or array[struct] definitions

Post by PennyJim »

There's times I want to annotate a function to only take/return the struct, not the array possibility. The definition for the type being tied to it, is annoying.

I'd much rather the places that use it hold the responsibility to do the type or array[struct] definition.
On the other hand, you can make a whole different type for it like StatelessVisualisations.

As I understand how the json format works, this would also optimize its size. While not that important, it's still a positive :]
(though the solution for size would be a special complex type)
Post Reply

Return to “Documentation Improvement Requests”