Giter VIP home page Giter VIP logo

fib-app's Issues

function

expected {
"code": 5000502,
"message": "Function 'fun1' in class 'class' throws error, please contact the administrator."
}

safe mode

Block requests where the query field is not in the allowed list

fibjs 0.23 "viz.js": "1.8.0" 请锁定

fibjs 0.23

拉最新代码执行 npm run test 的时候报错

原因是 "viz.js": 的版本更新了

请package.json下把 "viz.js": "1.8.0"锁定版本

wrong process when recursive post/epost

/**
    - 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": [
                // ...
            ]
        }
    }
}

TODO list for 0.14.0

  • documents

    • graphql usage
    • graphql api
  • test case

    • complex multiple level creation
    • plugin sample usage

npm install后无法完成npm test了

使用首页例子代码运行,后台显示错误
/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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.