LogicAppsUX icon indicating copy to clipboard operation
LogicAppsUX copied to clipboard

Property 'getCallbackUrl' in type 'AutomationWorkflowService' is not assignable to the same property in base type 'IWorkflowService'.

Open Xiaoyu-Huang opened this issue 1 year ago • 1 comments

Describe the Bug with repro steps

getCallbackUrl in IWorkflowService returns the type CallbackInfo in designer-client-service lib instead of the CallbackInfo in '@microsoft/logic-apps-shared'. It caused the package consume like us to face Property type miss match error.

image

here is my code

image

The error I got:

image

What type of Logic App Is this happening in?

Consumption (Portal)

Are you using new designer or old designer

New Designer

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

No response

Screenshots or Videos

No response

Browser

Edge

Additional context

No response

Xiaoyu-Huang avatar Apr 02 '24 20:04 Xiaoyu-Huang

Recommendation for now is to copy the correct type to the host and use it. Will fix in a later breaking change.

hartra344 avatar Apr 02 '24 20:04 hartra344