msgraph-sdk-python icon indicating copy to clipboard operation
msgraph-sdk-python copied to clipboard

Type mismatch: ParseNode.get_object_value(Parsable)

Open waldekmastykarz opened this issue 2 years ago • 2 comments

ParseNode.get_object_value(Parsable) expects its arg to be of type Parsable. When you however pass to it ConnectionOperation.create_from_discriminator_value() which returns an instance of ConnectionOperation which inherits from Entity which inherits from Parsable, you get an error saying that ConnectionOperation is not compatible with Parsable.

waldekmastykarz avatar Oct 09 '23 12:10 waldekmastykarz

@waldekmastykarz Any chance you can confirm this is still an issue on the latest version of the SDK?

andrueastman avatar Apr 03 '24 13:04 andrueastman

The issue still there:

image

Libs:

microsoft-kiota-abstractions==1.3.2
microsoft-kiota-authentication-azure==1.0.0
microsoft-kiota-http==1.3.1
microsoft-kiota-serialization-form==0.1.0
microsoft-kiota-serialization-json==1.2.0
microsoft-kiota-serialization-multipart==0.1.0
microsoft-kiota-serialization-text==1.0.0
msgraph-core==1.0.0
msgraph-sdk==1.2.0

waldekmastykarz avatar Apr 16 '24 15:04 waldekmastykarz