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

A reference to a non primary key fails #43

Merged
merged 3 commits into from
Sep 20, 2017

Conversation

moufmouf
Copy link
Member

If a foreign key points to a non primary key, the getters for the objets fail.

Adding failing test first.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 94.723% when pulling 0240d50 on moufmouf:ref_no_prim_key into dc6a818 on thecodingmachine:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.005%) to 94.683% when pulling 71b6813 on moufmouf:ref_no_prim_key into dc6a818 on thecodingmachine:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.005%) to 94.683% when pulling 1d46194 on moufmouf:ref_no_prim_key into dc6a818 on thecodingmachine:master.

@moufmouf moufmouf changed the title [WIP] A reference to a non primary key fails A reference to a non primary key fails Sep 20, 2017
@moufmouf moufmouf merged commit 88fb1e2 into thecodingmachine:master Sep 20, 2017
This was referenced Sep 20, 2017
@moufmouf moufmouf added this to the 5.0 milestone Aug 2, 2018
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