xixilive

Results 9 comments of xixilive

👍 eg: It's expects request with expected method, path and query parameters.

这个接口的逻辑是 upsert , 我的业务场景是这样的: ```js // on OAuth callback phase const authData = {...} User.findByAuthData(authData.provider, authData.uid) .then(user => { if(user){ return user.signIn() // the key point, how to signIn a...

我的业务场景下, 用户是白名单机制, 不允许通过authData直接创建用户, 你们这个接口作了这样一个假设. 另外我觉得把authData embed在User model中也不是很好, 遇到我这个场景就有点麻烦了. User与OAuth应该可以方便的link/unlink, 而不是add/remove

补充, 同样的ACL rule在其他业务model上是按照预期工作的

我觉得开发时实时build就好了, AppA/Page代码里require bundle, 不需要复杂方案, 毕竟小程序本身就强调轻量级, 我目前还没有开始做具体的项目, 只是在了解小程序.

RecordWorker is a WebWorker essentially, I think you can implements another communication mechanism.

In my case: > Note: `Math.ceil` and `Math.floor` ```js // throw Error: Couldn't find intersection function(){ const gen = () => seq.substr(Math.ceil(Math.random() * 1e5) % len, 1) } // not...