An Tao
An Tao
@engineerjames Thank you very much for your feedback, if you can make a PR for this, I would be very grateful.
> 请问是否可以在app().run();时就创建controller对象而不是在收到第一个请求时,这样方便将初始化代码直接放在控制器类的构造函数中 @mwx2006 , the PR #888 is for this requirement, please check it. thanks. @marty1885 should we add a option to enable this feature? or just create all controllers...
> For the database layer, I am currently weighing up [ODB](https://www.codesynthesis.com/products/odb), [Oat++](https://oatpp.io), [SOCI](http://soci.sourceforge.net), [cppdb](http://cppcms.com/sql/cppdb), and [sqlpp11](https://github.com/rbock/sqlpp11) [if sqlpp adds support for `CREATE TABLE`]. You here at [drogon](https://github.com/an-tao/drogon) seem to have...
Hi, The operating mechanism of ORM is different from what you think, in Drogon, we create model classes via drogon_ctl from existing tables, not the other way around. Please refer...
Yes. we will discuss your suggestion about creating tables from model classes, @marty1885 , @rbugajewski , @interfector18 do we need this feature?
I can't reproduce the link errors, please make a simple example repo on github that adding drogon project as a subdirectory, I'll figure it out.
[cmake.patch.gz](https://github.com/an-tao/drogon/files/6269889/cmake.patch.gz) @ariyo-live I made a patch to fix your project, please check it.
the DROGON_EXPORT macro is missed with the getVersion function, I'll fix this issue by adding the macro.
> Thank you for the prompt response and fix. Any idea about the linker error with `HttpResponse::getBody()`? > > ``` > Error LNK2019 unresolved external symbol "__declspec(dllimport) public: class boost::basic_string_view...
> My understanding is that the issue is a consequence of incorrect error handling in the definition of > > `void NormalResolver::resolve(const std::string &hostname, const Callback &callback)` > > in...