tiqi-group / pydase

A flexible and robust Python library for creating, managing, and interacting with data services, with built-in support for web and RPC servers, and customizable features for diverse use cases.
MIT License
0 stars 1 forks source link

Refactor: passing full serialization dict to frontend #98

Closed mosmuell closed 5 months ago

mosmuell commented 5 months ago

Formerly, only the value part of the serialization dictionary were passed to the frontend when serializing a service. This made it impossible for the frontend to determine what kind of component he needs to display - it always had to assume that it is a generic DataService component. However, when passing the whole serialization dict, the frontend can directly infer what component is exposed through the web server and can render it properly.

!! This introduces a breaking change in the DataService.serialize() method. !!