OpenAlchemy icon indicating copy to clipboard operation
OpenAlchemy copied to clipboard

Configure relationship with foreign key

Open jdkandersson opened this issue 4 years ago • 1 comments

As a user I want to define multiple relationships on a model pointing to the same referenced model so that I can have a construct such as primary and secondary supervisor of an employee.

Follow on from #139

  • [ ] The foreign key fully qualified name needs to be generated for a relationship
  • [ ] This needs to be added to the artefacts passed to the relationship facade
  • [ ] This needs to be used by the SQLAlchemy relationship constructor with the "foreign_keys" argument
  • [ ] A decision needs to be made about whether that parameter is allowed to be in the x-kwargs dictionary and which one to prioritise

jdkandersson avatar Jul 12 '20 02:07 jdkandersson

Hi, community! Is there any ETA for this to be delivered? Or maybe a workaround to get this working?

diogohudson avatar Dec 13 '21 14:12 diogohudson