Skip to content

OData actions are applied to derived types #221

Closed

Description

@peombwa

OData actions bound to base types are being applied to derived types resolved via OData casting. From my testing, calling an action from an OData cast-derived type is not supported by the service e.g.,
MicrosoftTeams-image

This seems to occur even with ExpandDerivedTypesNavigationProperties = false.

Related to https://github.com/microsoftgraph/microsoft-graph-devx-api/pull/1000.

Assemblies affected

1.0.10

Activity

  1. darrelmiller commented on May 24, 2022

    @darrelmiller
    Member

    Irvine Sunday (@irvinesunday) Is there a setting to disable generating actions on derived types that is independent to the ExpandDerivedTypesNavigationProperties?

  2. irvinesunday commented on May 24, 2022

    @irvinesunday
    Contributor

    Irvine Sunday (@irvinesunday) Is there a setting to disable generating actions on derived types that is independent to the ExpandDerivedTypesNavigationProperties?

    Darrel (@darrelmiller), no we don't have such a setting.
    Despite not being applicable in the Graph service, are actions on derived types allowable in OData?

  3. maisarissi commented on May 25, 2022

    @maisarissi

    Hey folks. This is blocking us from releasing PowerShell SDK, and I saw that this issue was added into the 1.0.11 milestone, instead of being prioritized as part of 1.0.10 release. Is that right?
    Please, can you reevaluate this? Carol Kigoonya (@CarolKigoonya) Irvine Sunday (@irvinesunday) Darrel (@darrelmiller)

  4. added
    priority:p1
    on May 26, 2022
  5. irvinesunday commented on May 26, 2022

    @irvinesunday
    Contributor

    Hey folks. This is blocking us from releasing PowerShell SDK, and I saw that this issue was added into the 1.0.11 milestone, instead of being prioritized as part of 1.0.10 release. Is that right? Please, can you reevaluate this? Carol Kigoonya (@CarolKigoonya) Irvine Sunday (@irvinesunday) Darrel (@darrelmiller)

    The fix will go out in 1.0.11-preview1. I've labelled it as a p1

  6. maisarissi commented on May 26, 2022

    @maisarissi

    When is the release date for 1.0.11? Per my understanding, we are getting close to release the 1.0.10 version and update DevX API to use it, but until we get this fixed, the PowerShell SDK can't be generated.
    We have added this item as part of our 1.0.10 tracking working on PS side: microsoftgraph/msgraph-sdk-powershell#1265

  7. irvinesunday commented on May 27, 2022

    @irvinesunday
    Contributor

    Maísa Rissi (@maisarissi) v1.0.10 was released and DevX API is currently on this version. v1.0.11-preview1 is the next candidate and is scheduled to go out with the end of milestone 1.0.11; however, I am fast-tracking this so that we can release it by next week.

  8. maisarissi commented on May 27, 2022

    @maisarissi

    Thanks for the additional details Irvine Sunday (@irvinesunday)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

priority:p1

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions