Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Quick feedback:

1. The blog post is great and it shows there is indeed complexity around dynamic filters. I would love to see a solution that tackles it all the way down to form rendering :)

2. All of the Ecto API/syntax used in the blog post is documented, afaik.

3. You mentioned in another comment that Ecto does not support associations in queries, but it does: `join: c in assoc(p, :comments)` and that takes care of the ON condition and anything else you configure.



Thank you for your kind words Jose, going all the way to the form (and table/list) rendering is the ideal for me and would greatly improve my phoenix experience!

Was that syntax documented 3 years ago? I don't really remember but definitely even if it was I couldn't find it. Also you should agree that it's non intuitive.

Finally, you are right about assoc, I don't use it because I prefer the left_join/on syntax but that's not a correct argument .




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: