coryodaniel / arbor

Ecto elixir adjacency list and tree traversal. Supports Ecto versions 2 and 3.
MIT License
239 stars 26 forks source link

[fix] Allows for foreign key columns that are not an `id` #20

Closed scott-wyatt closed 5 years ago

scott-wyatt commented 5 years ago

Description

Allows a foreign key that is not an id column.

Eg. uuid and parent_uuid

Includes passing unit tests.

Issues

Fixes #19

scott-wyatt commented 5 years ago

@coryodaniel merge and publish a new version? 😄 ❤️

coryodaniel commented 5 years ago

Ahh, great catch! Thanks for adding coverage 🙏