nqf

Results 71 comments of nqf

Thank you for your reply, Actually, our project is 100% cpp, so I would prefer cpp to have a graphql framework similar to rust‘s async-graphql, But in reality, there is...

> Yeah, unfortunately C++ just can't do it as simply. I haven't used Golang or its GraphQL frameworks, but I am familiar with a couple of Rust GraphQL frameworks, and...

Actually, I think cppgraphqlgen should be able to be packaged into something like this, But it may be necessary to write a code generation tool to generate the graphql_server class...

> > Actually, I think cppgraphqlgen should be able to be packaged into something like this, But it may be necessary to write a code generation tool to generate the...

@hwc0919 @marty1885 please check

> @nqf Sorry Things cam up and I'm very busy at work RN. Will check sometime this week, most likely the weekends. From an initial look, I've concerns of this...

``` cppcoro::task query_redis(const std::string& key) { std::cout

我刚看了一下, 你的意思是 EpollPoller::update 函数中 ::epoll_ctl(epollfd_, operation, fd, &event) 执行失败了对吗? https://github.com/an-tao/trantor/blob/65f245539215a8c25e04cd475c13d16044209a66/trantor/net/inner/poller/EpollPoller.cc#L183 https://github.com/an-tao/trantor/blob/65f245539215a8c25e04cd475c13d16044209a66/trantor/net/inner/poller/EpollPoller.cc#L203

``` 1.5.5 void TcpServer::handleCloseInLoop(const TcpConnectionPtr &connectionPtr) { size_t n = connSet_.erase(connectionPtr); (void)n; assert(n == 1); auto connLoop = connectionPtr->getLoop(); if (connLoop == loop_) { static_cast(connectionPtr.get()) ->connectDestroyed(); } else { connLoop->queueInLoop([connectionPtr]()...