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

Implement control over circular associations #96

Merged
merged 5 commits into from
Apr 22, 2021

Conversation

okuramasafumi
Copy link
Owner

No description provided.

@okuramasafumi okuramasafumi self-assigned this Apr 11, 2021
* Exclude test code from Metrics cops
* Let module length to be 150 lines long
@codecov
Copy link

codecov bot commented Apr 16, 2021

Codecov Report

Merging #96 (cfa9696) into master (f2772c2) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #96      +/-   ##
==========================================
+ Coverage   99.53%   99.56%   +0.02%     
==========================================
  Files           7        7              
  Lines         217      228      +11     
==========================================
+ Hits          216      227      +11     
  Misses          1        1              
Impacted Files Coverage Δ
lib/alba/many.rb 100.00% <100.00%> (ø)
lib/alba/one.rb 100.00% <100.00%> (ø)
lib/alba/resource.rb 99.15% <100.00%> (+0.08%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f2772c2...cfa9696. Read the comment docs.

@okuramasafumi
Copy link
Owner Author

Hmm, the last concern is the name. As proposed in #104 , JSON:API might be introduced in some future. JSON:API spec contains the reserved word "included", so it might be confusing to have included word in a different meaning.
Probably we should have different word for this feature, but what's appropriate?

@okuramasafumi okuramasafumi marked this pull request as ready for review April 21, 2021 17:57
The word `included` is used in JSON:API's Compound Documents,
(see: https://jsonapi.org/format/#document-compound-documents)
and we don't want to use it now since it's not related to
JSON:API.
We came up with the word `within` to replace `included` with.
@okuramasafumi okuramasafumi merged commit 92c58e2 into master Apr 22, 2021
@okuramasafumi okuramasafumi deleted the circular_association branch April 22, 2021 12:50
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

Successfully merging this pull request may close these issues.

1 participant