Right now, when the frontend starts it initializes all values with defaults. This overwrites any settings loaded from the backend, which is very bad. We should have the frontend wait for the backend to supply all parameters, and maybe also some other relevant settings.
This could be achieved by allowing setting the Typescript types for some messages to be optional, so that we just wait for an incoming message to initialize them. We would also want to avoid sending null messages to the backend.
Right now, when the frontend starts it initializes all values with defaults. This overwrites any settings loaded from the backend, which is very bad. We should have the frontend wait for the backend to supply all parameters, and maybe also some other relevant settings.
This could be achieved by allowing setting the Typescript types for some messages to be optional, so that we just wait for an incoming message to initialize them. We would also want to avoid sending null messages to the backend.