ApiLogicServer / ApiLogicServer-src

Create an executable project (API and Admin App) from a database or natural language prompt with 1 command, customize with declarative rules and Python in your IDE, containerize and deploy.
https://apilogicserver.github.io/Docs/
BSD 3-Clause "New" or "Revised" License
28 stars 4 forks source link

Naming error in multi-attribute foreign keys #18

Closed valhuber closed 11 months ago

valhuber commented 11 months ago

Foreign keys were defaulted by inspecting the first fk attribute -- if it was xyz_id, then xyz become the parent name. This works ok if there is one such attribute. However, if there are multiple foreign keys fields, and xyz is the name of another parent, then the model is generated incorrectly.

We have an internal fix for this; we are researching to ensure it works in all cases. Contact us if you need the fix.

valhuber commented 11 months ago

Fixed in 9.05.00