fix(Provider): proxy is optional
Describe your changes
Following the eslint upgrade it now removes unnecessary ? so it broke my setup locally. Proxy is optional because of unauthenticated provider.
- Set
proxyas optional
My sense is that the types aren’t always completely correct and so removing the optional ? is going to break more things. The linter gives us false confidence to delete ? willy nilly — so to speak
My sense is that the types aren’t always completely correct and so removing the optional ? is going to break more things. > The linter gives us false confidence to delete ? willy nilly — so to speak
we can disable the rule for the moment, wdyt?
My sense is that the types aren’t always completely correct and so removing the optional ? is going to break more things. > The linter gives us false confidence to delete ? willy nilly — so to speak
we can disable the rule for the moment, wdyt?
Yeah I think so. Don’t want it to bite us
Disabled 👌🏻 but we should aim to have better types, this kind of unnecessary condition also makes the code slower and shaky
Disabled 👌🏻 but we should aim to have better types, this kind of unnecessary condition also makes the code slower and shaky
100% agree
My sense is that the types aren’t always completely correct and so removing the optional ? is going to break more things. The linter gives us false confidence to delete ? willy nilly — so to speak
Case in point: https://github.com/NangoHQ/nango/pull/2099 as reported https://nango-community.slack.com/archives/C04ABR352H0/p1714974911347219