alexdesousa / ayesql

Library for using raw SQL in Elixir
MIT License
138 stars 14 forks source link

Tag query module with @external_resource #3

Closed omh closed 5 years ago

omh commented 5 years ago

Ensures query module is recompiled whenever the .sql file changes.

Closes #2.

alexdesousa commented 5 years ago

@omh Sorry for the late reply. I haven't had the time to work on this project until now.

By the time you created this PR, I was working on a major refactor in this library. I had to abandon it due to lack of time, though.

This is the reason I didn't merge this PR to master. The refactor was necessary for better code maintainability and better test coverage. I wrote this library in a weekend because I needed it right away for a project. The refactor was way overdue.

All the things covered in this PR (@external_resource module attribute and its test) are as of now in master plus the other major changes. The API it's still the same, though.

Either way, thanks for your interest in this little project and thanks for your contributions :)