Skip to content

Commit fb60a02

Browse files
madushajgCopilot
andauthored
Update workspaces/ballerina/inline-data-mapper/src/components/Diagram/utils/modification-utils.ts
Co-authored-by: Copilot <[email protected]>
1 parent b2f5928 commit fb60a02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workspaces/ballerina/inline-data-mapper/src/components/Diagram/utils/modification-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export async function removeMapping(fieldId: string, context: IDataMapperContext
7070
const remainingMappings = deletionVisitor.getRemainingMappings();
7171

7272
// TODO: Update this once the mapping deletion API is available
73-
return await context.applyModifications("", "", "", "");
73+
throw new Error("removeMapping is not implemented. The mapping deletion API is not yet available.");
7474
}
7575

7676
export function buildInputAccessExpr(fieldFqn: string): string {

0 commit comments

Comments
 (0)