Closed SchaichAlonso closed 1 year ago
The problem is that currently, we don't have any GitHub action with disabled ORM
and I personally don't compile with disabled ORM
too often, last time it was a few months ago.
Thank you for the report, it will be fixed in the next release.
Merged, thank you
The fix is already in the main
branch, it should be fine now.
The querybuilders' unit tests fail to compile if ORM compilation is disabled via cmake
build attempt was done on windows using SDK 10.0.19041.0 and vcpkg fba81a6a5 which is the same as the current github actions use, though it also reproduces on very different platforms.
The missing exceptions are actually being built as part of the querybuilder. The problem instead is that the tests deep-end on
models/user.hpp
to include the header files for the exception classes they are using, but the corresponding include directive is skipped for builds that disable ORM.