File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
apps/vs-code-react/src/app/designer Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,13 @@ export const getDesignerServices = (
180180 getConfiguration : async ( connectionId : string , manifest : OperationManifest | undefined ) : Promise < any > => {
181181 try {
182182 const configuration : Record < string , any > = { } ;
183+ // WORKAROUND: If connectionId is already a configuration object (not a string),
184+ // it means something is calling getConfiguration with the result of a previous call.
185+ // In this case, just return the object as-is.
186+ const connectionIdAsAny = connectionId as any ;
187+ if ( typeof connectionIdAsAny === 'object' && connectionIdAsAny !== null ) {
188+ return connectionIdAsAny as Record < string , any > ;
189+ }
183190
184191 if ( shouldIncludeWorkflowAppLocation ( isLocal , manifest ) ) {
185192 configuration . workflowAppLocation = appSettings . ProjectDirectoryPath ;
You can’t perform that action at this time.
0 commit comments