You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like 3.0.10 and specifically #1780 introduced some changes to the expected properties of the config block and making a bunch of the fields required vs optional. Seems like the only way to get typing to work now is to write out all the 20+ required fields in the config, which isn't a viable option. I'm no TS expert so could be something wrong with our setup here, open to any suggestions!
Thanks for the heads up. I expect a bug was introduced in #1780 that is causing this. We'll patch a fix for it in the next few days - for now just stick with 3.0.9.
Seems like
3.0.10
and specifically #1780 introduced some changes to the expected properties of the config block and making a bunch of the fields required vs optional. Seems like the only way to get typing to work now is to write out all the 20+ required fields in the config, which isn't a viable option. I'm no TS expert so could be something wrong with our setup here, open to any suggestions!Consider the below
my_table.js
This table compiles and can be run both in Dataform
3.0.9
and3.0.10
but in3.0.10
our type checks complain about the belowError
Steps to recreate:
package.json
)Package.json dependencies:
Jsconfig
jsconfig.json
Imported dataform types (
types/dataform/globals.d.ts
)The text was updated successfully, but these errors were encountered: