[BUG] Azure.AI.DocumentIntelligence: stringIndexType missing in ClassifyDocumentOptions and AnalyzeDocumentOptions #47694
Labels
Client
This issue points to a problem in the data-plane of the library.
Cognitive - Form Recognizer
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Library name and version
Azure.AI.DocumentIntelligence 1.0.0
Describe the bug
DocumentIntelligenceClient
exposes the following methods where we can passstringIndexType
.ClassifyDocumentAsync
:azure-sdk-for-net/sdk/documentintelligence/Azure.AI.DocumentIntelligence/src/DocumentIntelligenceClient.cs
Line 521 in 2b34e96
AnalyzeDocumentAsync
azure-sdk-for-net/sdk/documentintelligence/Azure.AI.DocumentIntelligence/src/DocumentIntelligenceClient.cs
Line 272 in 2b34e96
And there are overloads for these methods that accepts
ClassifyDocumentOptions
andAnalyzeDocumentOptions
respectively. In these optionsstringIndexType
is missing.Expected behavior
stringIndexType
should be exposed as properties inClassifyDocumentOptions
andAnalyzeDocumentOptions
, so consumers can configure those options when calling the overloads that acceptsClassifyDocumentOptions
andAnalyzeDocumentOptions
and not have to call above methods just because when they need to passstringIndexType
.P.S: Should we make above methods that accepts several number of parameters internal and allow consumers to use methods that accepts options only. I saw a comment recommending the consumers to use methods that accepts Options.
Actual behavior
stringIndexType
is missing inClassifyDocumentOptions
andAnalyzeDocumentOptions
.Reproduction Steps
N/A
Environment
N/A
The text was updated successfully, but these errors were encountered: