Skip to content

Issue with AI data mapping #213

@KCSAbeywickrama

Description

@KCSAbeywickrama

Description

Attempted to use the Auto Map feature with the following source, which resulted in no file changes

Screen.Recording.2026-03-23.at.3.10.51.PM.mov

Steps to Reproduce

data_mappings.bal

function transform(OrderDetails orderDetails) returns CreateOrders => {};

types.bal

public type OrdersItem record {|
    string orderId;
    string[] customerId;
|};

public type OrderDetails record {|
    OrdersItem[] orders;
|};

type CreateOrder record {
    string orderId;
    string[] customerName;
};

type CreateOrders record {
    CreateOrder[] createOrder;
};

Version

1.8.0

Environment Details (with versions)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions