Skip to content

mirage: Use relationship system #2137

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

Merged
merged 9 commits into from
Jan 16, 2020
Merged

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Jan 15, 2020

see https://www.ember-cli-mirage.com/docs/data-layer/relationships

Until now we've been keeping track of the relationships between the mirage resources manually, but mirage has a built-in relationship system for this that can simplify the code quite a bit when used correctly. This PR is replacing this manual tracking with declarative relationships.

r? @locks

@locks
Copy link
Contributor

locks commented Jan 15, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Jan 15, 2020

📌 Commit d1210db has been approved by locks

@bors
Copy link
Contributor

bors commented Jan 15, 2020

⌛ Testing commit d1210db with merge 4be0ae9...

bors added a commit that referenced this pull request Jan 15, 2020
mirage: Use relationship system

see https://www.ember-cli-mirage.com/docs/data-layer/relationships

Until now we've been keeping track of the relationships between the mirage resources manually, but mirage has a built-in relationship system for this that can simplify the code quite a bit when used correctly. This PR is replacing this manual tracking with declarative relationships.

r? @locks
@Turbo87
Copy link
Member Author

Turbo87 commented Jan 16, 2020

fixed the CI issues :)

@bors r=@locks

@bors
Copy link
Contributor

bors commented Jan 16, 2020

📌 Commit bf34146 has been approved by locks

@bors
Copy link
Contributor

bors commented Jan 16, 2020

⌛ Testing commit bf34146 with merge 6846cd5...

bors added a commit that referenced this pull request Jan 16, 2020
mirage: Use relationship system

see https://www.ember-cli-mirage.com/docs/data-layer/relationships

Until now we've been keeping track of the relationships between the mirage resources manually, but mirage has a built-in relationship system for this that can simplify the code quite a bit when used correctly. This PR is replacing this manual tracking with declarative relationships.

r? @locks
@bors
Copy link
Contributor

bors commented Jan 16, 2020

💡 This pull request was already approved, no need to approve it again.

  • This pull request is currently being tested. If there's no response from the continuous integration service, you may use retry to trigger a build again.

@bors
Copy link
Contributor

bors commented Jan 16, 2020

📌 Commit bf34146 has been approved by locks

@bors
Copy link
Contributor

bors commented Jan 16, 2020

⌛ Testing commit bf34146 with merge 9cc23fa...

bors added a commit that referenced this pull request Jan 16, 2020
mirage: Use relationship system

see https://www.ember-cli-mirage.com/docs/data-layer/relationships

Until now we've been keeping track of the relationships between the mirage resources manually, but mirage has a built-in relationship system for this that can simplify the code quite a bit when used correctly. This PR is replacing this manual tracking with declarative relationships.

r? @locks
@bors
Copy link
Contributor

bors commented Jan 16, 2020

☀️ Test successful - checks-travis
Approved by: locks
Pushing 9cc23fa to master...

@bors bors merged commit bf34146 into rust-lang:master Jan 16, 2020
@Turbo87 Turbo87 deleted the relationships branch January 16, 2020 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants