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

[LB-Next] Support of Relation (BelongsTo & hasMany) for Repository and ModelDefinition #420

Closed
3 tasks
dhmlau opened this issue Jun 30, 2017 · 2 comments
Closed
3 tasks
Labels

Comments

@dhmlau
Copy link
Member

dhmlau commented Jun 30, 2017

Details

Details can be found in #419.

For example, `Customer` and `Order` has the `belongsTo` relation. When customerId was given, 
it becomes the filter for the `Order` repository. It implies that `Order` repository is not a free 
form repository but is constrained by `customerID=xxx`.

When doing CRUD operation, make sure this constrained is honored.
Currently, we are using primary key/foreign key for the relationship. 
In LB Next, we should allow people to use any properties.

This task is only for belongsTo relation.

Acceptance Criteria

  • Actual implementation on belongsTo and hasMany
  • Have example in how to use it
  • have test cases

BLOCKED BY

@dhmlau dhmlau added the apex label Jun 30, 2017
@dhmlau dhmlau changed the title Support of Relation (BelongsTo) for Repository [LB-Next] Support of Relation (BelongsTo) for Repository Jun 30, 2017
@dhmlau dhmlau changed the title [LB-Next] Support of Relation (BelongsTo) for Repository [LB-Next] Support of Relation (BelongsTo) for Repository and ModelDefinition Jun 30, 2017
@kjdelisle kjdelisle added team-apex and removed apex labels Jul 5, 2017
@dhmlau dhmlau changed the title [LB-Next] Support of Relation (BelongsTo) for Repository and ModelDefinition [LB-Next] Support of Relation (BelongsTo & hasMany) for Repository and ModelDefinition Jul 5, 2017
@kjdelisle kjdelisle self-assigned this Jul 17, 2017
@dhmlau dhmlau added the Juggler label Aug 23, 2017
@kjdelisle kjdelisle removed their assignment Sep 5, 2017
@bajtos bajtos added the non-MVP label Nov 3, 2017
@arash01
Copy link
Contributor

arash01 commented Jan 19, 2018

I've created a new issue #812 and just realised it's duplicated.

@dhmlau
Copy link
Member Author

dhmlau commented Feb 26, 2018

Closing it in favor of #995

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

No branches or pull requests

4 participants