alexdesousa / ayesql

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

Raise File.Error if .sql file could not be read #1

Closed omh closed 5 years ago

omh commented 5 years ago

Functions would silently not be generated if the .sql could not be read (e.g was misspelled). This avoids that by raising a File.Error at compile time.

Fairly new to Elixir so not entirely sure how to test compile time behaviour. Is that even possible?