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

fix custom UUID primary key #401

Merged
merged 4 commits into from
Jun 24, 2020
Merged

Conversation

jwoertink
Copy link
Member

Overrides: #380
Fixes: #379

This PR adds in a spec to ensure that the changes originally made in #380 by @gaku-sei actually work.

TL;DR: If you make a custom primary_key name that's a UUID type, before it would fail when trying to save because it assumed your primary_key was called id.

@jwoertink jwoertink merged commit 4836f29 into master Jun 24, 2020
@jwoertink jwoertink deleted the jaw/fix-custom-uuid-primary-key branch June 24, 2020 02:30
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.

Primary key is hard coded in SaveOperation's setup macro
1 participant