arbor icon indicating copy to clipboard operation
arbor copied to clipboard

initial use UndefinedFunctionError

Open ZachParsons opened this issue 3 years ago • 0 comments

After adding this dep to my mix.exs & runningmix deps.get which ran fine.

I added to my schema that has a parent_id field use Arbor.Tree, foreign_key_type: :binary_id belongs_to :parent, __MODULE__

On mix compile - this error:

** (UndefinedFunctionError) function nil.source/0 is undefined. If you are using the dot syntax, such as map.field or module.function(), make sure the left side of the dot is an atom or a map
    nil.source()
    (arbor 1.1.0) expanding macro: Arbor.Tree.__before_compile__/1

ZachParsons avatar May 22 '22 04:05 ZachParsons