Closed isaacabraham closed 2 years ago
Another dev on our team can also repro this.
Interestingly, I've just tried against alpha004 of 5.21 and the issue no longer occurs. What's changed?
Ok I can now see - there's was an unsafe match against Timeout None that has now been fixed. I'm going to submit a PR to replace the IsSome / None checks with pattern matches to prevent this happening in future.
Description
Calling
deployDb
causes an NRE.Repro steps
Execute the following code in a script:
Expected behavior
Actual behavior
Known workarounds
Compiling the code locally fixes the issue. It's only on the nuget package that this is an issue.
Related information
What is curious is the exception above: The stack trace starts on line 175 of Sql.SqlPackage.fs. Yet according to the latest code (unchanged since April 2021) this is an empty line.