unsupported-kind
@azure-tools/typespec-client-generator-core/unsupported-kindSeverity: warning
This diagnostic is issued when TCGC encounters a TypeSpec type kind that it does not know how to convert into an SDK type. The value is treated as an unknown SDK type.
Impact
Section titled “Impact”- Area: SDK type conversion. Generation continues with an unknown SDK type placeholder for the unsupported TypeSpec kind.
- Not affected: Other supported TypeSpec types are converted normally.
Diagnostic Message
Section titled “Diagnostic Message”TCGC reports:
Unsupported kind TemplateParameter✅ How to Fix
Section titled “✅ How to Fix”Replace the unsupported construct with a supported model, scalar, enum, union, operation, or model property shape.
Suppression
Section titled “Suppression”Suppress this warning only if the unsupported TypeSpec kind is not part of the public generated SDK surface or an unknown SDK type is acceptable.
#suppress "@azure-tools/typespec-client-generator-core/unsupported-kind" "unsupported kind is not emitted"