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

Fixes PLIN-2085 bug with foreign key lookups #74

Merged
merged 3 commits into from
Jun 20, 2019

Conversation

plusplusben
Copy link
Contributor

This fixes some pretty bad logic that happens when a struct has multiple lookup fields. Also adds tests. The logic was supposed to remove the foreign key lookup from the struct as it was iterating, but it was either...

  1. Emptying the whole struct, or
  2. Adding additional duplicates to the struct.

@plusplusben plusplusben self-assigned this Jun 20, 2019
@plusplusben plusplusben merged commit eed72df into master Jun 20, 2019
@plusplusben plusplusben deleted the PLIN-2085-fix-foreign-key-lookup-bug branch June 20, 2019 14:50
@ghost ghost unassigned plusplusben Oct 25, 2019
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.

2 participants