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

Model: .for() should use object.getPrimaryKey() instead of object.id #29

Merged
merged 1 commit into from
Oct 31, 2018

Conversation

Peter-Krebs
Copy link
Collaborator

There is a small hickup regarding the implementation of getPrimaryKey() in the project. This will fix it: .for() uses object.id directly instead of calling getPrimaryKey().

@codecov
Copy link

codecov bot commented Oct 31, 2018

Codecov Report

Merging #29 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #29   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           4      4           
  Lines         228    228           
  Branches       40     40           
=====================================
  Hits          228    228
Impacted Files Coverage Δ
src/Model.js 100% <100%> (ø) ⬆️

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 4db4836...24e6852. Read the comment docs.

@robsontenorio robsontenorio merged commit 967f790 into robsontenorio:master Oct 31, 2018
@robsontenorio
Copy link
Owner

@Peter-Krebs thank you!

@Peter-Krebs
Copy link
Collaborator Author

@robsontenorio Glad to help

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.

None yet

2 participants