Skip to content

Filter out null nested objects #383

@MrSwitch

Description

@MrSwitch

Where we have a many:1 join and there is no match the nested object should be empty object.... i.e.

const resp = await dare.get('table', [{nestedJoin: ['id', 'field1',...]]);

// expected
{
    nestedJoin: {},
}

// actual
{
    nestedJoin: {
       id: null,
       field1: null,
       ...
    },
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions