findmypast-oss / mssql_ecto

Ecto adapter for Mssqlex
Apache License 2.0
49 stars 20 forks source link

Compilation error in file lib/mssql_ecto/query_string.ex == #28

Closed cdesch closed 6 years ago

cdesch commented 6 years ago

Received this while setting up a "hello_world" app for the mssql_ecto and the MS SQL Server database to test connectivity and experiment/verify the initial configurations.

the "hello_world" project can be found here

== Compilation error in file lib/mssql_ecto/query_string.ex ==
** (CompileError) lib/mssql_ecto/query_string.ex:251: unknown key :fields for struct Ecto.SubQuery
    lib/mssql_ecto/query_string.ex:251: (module)
could not compile dependency :mssql_ecto, "mix compile" failed. You can recompile this dependency with "mix deps.compile mssql_ecto", update it with "mix deps.update mssql_ecto" or clean it with "mix deps.clean mssql_ecto"

Expected Behavior

For the project to compile with dependencies and run

Current Behavior

errors out on iex -S mix

Possible Solution

Steps to Reproduce (for bugs)

  1. git clone https://github.com/kickinespresso/ms_sql_test
  2. configure connection in config.ex
  3. run in terminal iex -S mix

Context

👍 -- I cant get the library to work

Your Environment

cdesch commented 6 years ago

Made Pull reqeust