coryodaniel / arbor

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

parent_key and parent_key_type not registering #19

Closed scott-wyatt closed 5 years ago

scott-wyatt commented 5 years ago

~In the options definition:~

foreign_key foreign_key_type

~Seem to be set incorrectly.~

~The tests appear to pass only because there isn't one for a custom foreign_key and that the foreign_key_type happens to be the same as the primary_key_type for the test of a custom type.~

There is no Test for Foreign Keys, So I'm making a PR ~I'm pretty new to Elixir, but would you like a PR for this?~ I'm super excited to use this in a project of mine.