koa2
Koa is a new web framework designed by the team behind Express,
which aims to be a smaller, more expressive, and more robust foundation
for web applications and APIs. By leveraging async functions, Koa allows you
to ditch callbacks and greatly increase error-handling. Koa does not bundle any
middleware within its core, and it provides an elegant suite of methods that make
writing servers fast and enjoyable.
Here are 1,488 public repositories matching this topic...
I'm submitting a ...
- bug report
- [ X] feature request
- question
PostGraphile version: 4.4.4
postgraphile should honor variables in query string as defined in https://github.com/graphql/express-graphql#http-usage when the query is provided as post body.
with the following exampl
创建插件bug
DESC
在v2.2.12版本上,通过 thinkjs plugin xxx 创建的插件,在经过babel编译时存在问题,编译后的代码,无法在thinkjs系统中使用,其依赖和编译命令为:
"dependencies": {
"babel-runtime": "6.x.x"
},
"devDependencies": {
"mocha": "1.20.1",
"istanbul": "0.4.0",
"babel-cli": "6.x.x",
"babel-preset-es2015-loose": "6.x.x",
"babel-preset-stage-1": "6.x.x",
"babel-plugin-transform-runtime": "6.x.x",
"ba
npm run dev 报错
(node:38871) [SEQUELIZE0002] DeprecationWarning: The logging-option should be either a function or false. Default: console.log
events.js:183
throw er; // Unhandled 'error' event
-
Updated
Feb 18, 2020 - JavaScript
-
Updated
Feb 22, 2020 - Vue
This isn't a bug, but it took me quite a long time to figure out, so thought others have struggled with the same issue.
When using the authenticate method, one must remember to both return the result, and call the function with the context. I thought it may be useful to include this explicitly in the documentation.
I created a [Stack Overflow question](https://stackoverflow.com/questions
-
Updated
Dec 28, 2019 - JavaScript
-
Updated
Nov 29, 2017 - JavaScript
-
Updated
Jun 22, 2017 - JavaScript
-
Updated
Apr 8, 2020 - TypeScript
class TodoStore {
@observable list = []
@observable fetched = false
@action emit = (url) => {
this.fetched = true
socket.emit(url)
}
@computed get on(){
socket.on('get list',(json)=>{
this.fetched = false
this.list = json.map((index,i)=>{
return new List(index)
})
})
}
}
mobx正常模式没问题,严格模式下
[mobx] Invariant failed: Since strict-mode is ena
-
Updated
Jun 3, 2020 - JavaScript
这个是什么原因呢?
http://127.0.0.1:6060/article/list
{
stack: "SequelizeDatabaseError: Unknown column 'tags.articleId' in 'on clause' at Query.formatError (F:\github\react-blog\server\node_modules\sequelize\lib\dialects\mysql\query.js:244:16) at Query.handler [as onResult] (F:\github\react-blog\server\node_modules\sequelize\lib\dialects\mysql\query.js:51:23) at Query.execute (F:\github\react-blog\server\n
-
Updated
Mar 16, 2019 - JavaScript
-
Updated
Feb 17, 2020 - JavaScript
Describe the bug
Find-one endpoint
/resource/:idresponses with 500 status code instead of 404, this happens with MongoDB setup.Steps to reproduce the behavior
findOneaccess to the public./resource-name/any-invalid-id.Expected behavior
404 response.
**Sys