MSGraph-SDK-Code-Generator icon indicating copy to clipboard operation
MSGraph-SDK-Code-Generator copied to clipboard

Support deprecation for C# on all request builders

Open MIchaelMainer opened this issue 5 years ago • 1 comments

IMethodRequest, *StreamRequest, *EntityWithReferenceRequeest, *EntityRequest, *EntityReferenceRequest, *EntityCollectionWithReferencesRequest, *EntityCollectionRequest, *EntityCollectionReferencesRequest, MethodRequestBody. AB#6862

MIchaelMainer avatar Dec 08 '20 22:12 MIchaelMainer

We also need spec from @mikepizzo about how the deprecation statements should be propagated by tools.

A non-exhaustive list of questions and assumptions:

  • Where can deprecation annotations exist in the CSDL?
  • If derived type is deprecated and the base type is referenced, how do we handle references to the base type? Is it conditionally deprecated?
  • If a property is deprecated on a complex type or entity, does that mean all references to the complex type or entity are deprecated?
  • If a type is deprecated, all methods bound to the type, or that contains a parameter of that type, or that returns that type (or collections thereof) are deprecated.
  • Base type deprecation - all derived types are deprecated as well as their bound methods, even if the derived type is not explicitly marked as deprecated.

This list could go on.... we need an OData spec on this.

MIchaelMainer avatar Dec 09 '20 19:12 MIchaelMainer

closing since this has been addressed in kiota

baywet avatar Nov 27 '23 14:11 baywet