egg icon indicating copy to clipboard operation
egg copied to clipboard

🥚 Born to build better enterprise frameworks and apps with Node.js & Koa

Results 351 egg issues
Sort by recently updated
recently updated
newest added

在 strict 模式下部分验证将 warn 改成 error

deps: egg-core
type: feature
Inactive

因为现在使用的Sequelize写多表数据查询要写类似jpa这种格式的代码,维护成本太高了,有没有类似mybatis-plus这种实现方式,我是一名java开发,看到前端发展很好,可是感觉egg.js写服务端还是有点欠缺,例如这个orm框架就不是太友好了,是否能提供类似以下的写法,直接可以书写sql语句,这样维护就比较好 SELECT id,name FROM user WHERE state=#{state} 好像也没有看到Sequelize提供分页插件

egg.js 遇到socket.io如何解决跨域问题,我使用socket.io V2版本的没有跨域问题,V4版本的则需要解决跨域问题,不知道egg.js如何解决。谢谢指导!

Inactive

```bash 2021-12-25 11:01:30,114 ERROR 87218 [Job#164040129007742199325516777911] /Users/fengmk2/git/github.com/cnpm/cnpmcore/app/schedule/UpdateTotalData.ts execute failed, used 33ms. TypeError: Do not know how to serialize a BigInt at stringify () at tryStringify (node:internal/util/inspect:1861:12) at formatWithOptionsInternal (node:internal/util/inspect:1929:25) at...

type: bug
deps: egg-logger
Inactive

Can i use ES6 syntax, `import ... from ...` and `export default ...` in EggJS ?

Inactive

## Background Why egg not building inherit from ExpressJS? Is it possible to work with eggs from ExpressJS knowledge? ## Proposal Please support both ExpressJS and Koa

Inactive

## What happens? HMR not working on wsl2. Does egg-bin has workaround like 'poll' for webpack? ## Mini Showcase Repository(REQUIRED) > Provide a mini GitHub repository which can reproduce the...

Inactive

By running `DEBUG=* yarn run start` I have the following error ``` [egg-scripts] Got error when startup: [egg-scripts] Tue, 23 Nov 2021 08:32:10 GMT detect-port detect free port between [0,...

need-more-information
Inactive

## What happens? egg-bin debug启动不能指定hostname,默认是node-inspecter的 127.0.0.1,这里能否透传参数支持0.0.0.0的自定义。这样可以和java统一下,我们云平台调试方便。 ## 最小可复现仓库 > 请使用 `npm init egg --type=simple bug` 创建,并上传到你的 GitHub 仓库 ## 复现步骤,错误日志以及相关配置 ## 相关环境信息 - **操作系统**: - **Node 版本**: - **Egg 版本**:

Inactive

## 目前要求Router注册的时候添加一个属性, ``` // 例: router.get('/test','option',controll.user.list) ``` 每次访问接口的时候需要根据这个属性做判断, 各位大佬有什么高招吗?

Inactive