Results 18 comments of Scott Ming

I think the more effective way is using the [recursive_ctes/2](https://hexdocs.pm/ecto/Ecto.Query.html#with_cte/3) to get all tree data and [build the tree](https://stackoverflow.com/questions/42577866/create-a-hierarchical-data-structure-from-a-flat-list-with-parent-id) in memory.

I have the same problem when using nvm.

@kvakvs But If I marked the _build directory as excluded, there are some unresolved problems: ![image](https://user-images.githubusercontent.com/12830256/75088199-10daaf80-5585-11ea-886f-11166782e627.png)

@tpitale @binaryseed Hi, I think this pr https://github.com/newrelic/elixir_agent/pull/375 can solve the "parenting" problem.

That's not a bug, `Joi.validate/2` doesn't just do the validation. It also does conversions