[MetricsAdvisor] Consider making constructor of complex types parameterless #16321
Labels
blocking-release
Blocks release
Client
This issue points to a problem in the data-plane of the library.
Cognitive - Metrics Advisor
Milestone
Take
DataFeed
as an example.DataFeed
takes multiple complex types as arguments in its constructor:DataFeedSchema
,DataFeedIngestionSettings
,DataFeedGranularity
. Users need to know which objects are required and create them before calling the constructor:Consider making the constructor parameterless. Users need to rely on thrown exceptions to figure out which properties are required:
Next attempt:
We could:
The text was updated successfully, but these errors were encountered: