dotnet / dotnet/machinelearning
CodeGenerator throws a bad error when StablePackageVersion isn't set
Open
area-AutoML
Priority:2
- Dominant language
- C#
- Stars
- 9.4k
- Forks
- 2k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 11
Description
With the addition of https://github.com/dotnet/machinelearning/pull/4391, we added two new string properties to `CodeGeneratorSettings`:
* StablePackageVersion
* UnstablePackageVersion
These properties are required to be set, if you don't code gen fails. But even worse, it fails in a way that isn't immediately obvious to what you did wrong.
We should make these properties required when creating a `CodeGeneratorSettings` object. That way callers of CodeGen know they need to set it.
Contributor guide
Assessment
This issue has not been assessed yet.