Previously, the belongs to fictinionize module only support the association to primary key field.
In this Pull Request, I want to update it so that the fictionize can support association to non-primary key field.
I create an example using a social_media_informations table and create the belongs to association to email field in persons table. And also, since the has association is not supported yet, I update the get_association_field_key which accept the Ecto Has association.
Previously, the belongs to fictinionize module only support the association to primary key field. In this Pull Request, I want to update it so that the fictionize can support association to non-primary key field.
I create an example using a
social_media_informations
table and create the belongs to association toemail
field inpersons
table. And also, since the has association is not supported yet, I update theget_association_field_key
which accept the Ecto Has association.