fibjs / fib-app Goto Github PK
View Code? Open in Web Editor NEWA development framework for building restful api quickly.
Home Page: https://fibjs.github.io/fib-app/
A development framework for building restful api quickly.
Home Page: https://fibjs.github.io/fib-app/
expected {
"code": 5000502,
"message": "Function 'fun1' in class 'class' throws error, please contact the administrator."
}
Even when the database is set to use the 'bigint' data type, GraphQL queries will yield an error when corresponding values exceed 2^31-1.
as title
Block requests where the query field is not in the allowed list
fibjs 0.23
拉最新代码执行 npm run test 的时候报错
原因是 "viz.js": 的版本更新了
请package.json下把 "viz.js": "1.8.0"锁定版本
/**
- A hasMany extb(B)
- A hasMany members(C)
- B hasMany members(C)
在 fib-app <= 1.13.7 的版本中, 以下 json 如果直接赋值给 app.api.post(req, orm, orm.models['A'], json),
则其中所有的 members 都会被当成 A 的, 而处于第二深度以后所有的 associations 关系都不会被正确赋值.
*/
{
"A": {
// 这里的 members 会被赋给 A, 没毛病
"members": [
// ...
],
"extb": {
// 这里的 members 按道理会被赋给 B, 但实际上 fib-app <= 1.13.7 中,
// 会被全部赋给 A(因为 A 有一个类似的 hasOne(C) 关系)
"members": [
// ...
],
// 如果 B hasMany lalalalas(C), 也递归的 post 中, 也并不会被赋值给 B.
"lalalalas": [
// ...
]
}
}
}
documents
test case
使用首页例子代码运行,后台显示错误
/node_modules/fib-app/node_modules/viz.js/viz.js:1627015: Invalid asm.js: Function definition doesn't match use
系统 centos 7 x64
fibjs版本 0.27
as title
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.