If you use ConnectionConfig, you are unable to declare any additional fields as required, they have to be marked optional or it causes a type error. This feels not quite right to me. We end up with a bunch of optional properties or we are required to cast it to something ConnectionConfig understands. It feels like there might be a better way of doing this
If you use ConnectionConfig, you are unable to declare any additional fields as required, they have to be marked optional or it causes a type error. This feels not quite right to me. We end up with a bunch of optional properties or we are required to cast it to something ConnectionConfig understands. It feels like there might be a better way of doing this