Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic Creation of LBModel Objects for Included Relations #24

Open
benmarten opened this issue Feb 4, 2015 · 0 comments
Open

Automatic Creation of LBModel Objects for Included Relations #24

benmarten opened this issue Feb 4, 2015 · 0 comments

Comments

@benmarten
Copy link

How can I achieve that related Objects that are included (via include filter) are automatically parsed into the correct LBModel?

Example:

    <FSDish {
        name = Pizza;
        orders =     (
                    {
                unitPrice = "2.99";
                userId = 54ca8404f0d971928b50b9c8;
            }
        );
    }>

The orders array should contain FSOrder objects, how to achieve that without manually parsing?
I assume creating an SLContract? Any Examples?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants