Skip to content

MJoin Model does not support nested types. #24

Description

@VictorioBerra

https://github.com/DataTables/Editor-NET/blob/master/DataTables-Editor-Server/MJoin.cs#L750

VS

https://github.com/DataTables/Editor-NET/blob/master/DataTables-Editor-Server/Editor.cs#L1394

Issue:

https://datatables.net/forums/discussion/78941/editor-net-mjoin-leftjoin-data#latest

This forces us to define the nested fields manually via:

.MJoin(new MJoin("InventoryServerWarranty")
    .Model<InventoryServerWarranty>()
    .Field(new Field("InventoryServerWarrantyProvider.Name"))
    .Field(new Field("InventoryServerWarrantyProvider.Description"))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions