Skip to content

list-aware build/3 for Association.Has#3

Open
MarthinL wants to merge 1 commit into
soundmonster:composite_foreign_keysfrom
MarthinL:composite_key_build_assoc
Open

list-aware build/3 for Association.Has#3
MarthinL wants to merge 1 commit into
soundmonster:composite_foreign_keysfrom
MarthinL:composite_key_build_assoc

Conversation

@MarthinL

Copy link
Copy Markdown

The reported misbehaviour of build_assoc in @soundmonster's composite_foreign_keys branch and pull request was identified as resulting from the build/3 function of module Association.Has which was had not yet been updated to handle owner_key and related_key parameters in the list format as occuring when composite foreign keys are being used.

This pull request, at least initially, aims to correct that oversight by providing a composite foreign key ready, i.e. list-aware version of the build function of Association.Has in file association.ex. This trivial branch and pull request comes after two failed attempts at suggesting the change through comments on the original PR.

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