darioteixeira / pgocaml

PG'OCaml provides an interface to PostgreSQL databases for OCaml applications. It uses Camlp4 to extend the OCaml syntax, enabling one to directly embed SQL statements inside the OCaml code.
Other
160 stars 36 forks source link

PPX invocation? #72

Open progman1 opened 5 years ago

progman1 commented 5 years ago

I'm having problems getting dune to run with ppx_pgsql: (libraries ppx_pgsql pgocaml) didn't work. also (libraries pgocaml.ppx pgocaml) no good either

I ran ocamlobjinfo on lib/pgocaml/ppx_pgsql.cma and it showed empty!

strangely though I specified PKG pgocaml.ppx for merlin and it worked fine. what am I doing wrong?

swuecho commented 4 years ago

check https://github.com/darioteixeira/pgocaml/pull/60