grafana / grafana-aws-sdk-react

Apache License 2.0
3 stars 1 forks source link

Type Error: Config Editor Properties required to be optional #75

Open sarahzinger opened 7 months ago

sarahzinger commented 7 months ago

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

Screenshot 2024-02-01 at 9 10 46 AM Screenshot 2024-02-01 at 9 10 57 AM