Spark-star
Spark-star
THX, I find "property" could be a property on a model in the loopback document. I find it on the http://docs.strongloop.com/display/LB/Model+definition+JSON+file . "property Specifies a property/method/relation on a given model....
+1, It is not the bug of the strong-remoting. 2014-11-04 3:05 GMT+08:00 Miroslav Bajtoš [email protected]: > What version of strong-remoting are you using? Is it possible this issue > is...
I tried it , but the server also crashed when I pass an object to a property that should be an array , I used the strong-remoting 2.8.1. the error...
Thanks Do you mean that I can't write a method on relation?
Thank you for your answer. How can i ensure the relation has been loaded when i define the relation.method ? 2014-11-05 14:02 GMT+08:00 Fabien Franzen [email protected]: > @Spark-star https://github.com/Spark-star sure...
nope I mean how can I ensure the model in relation attached when i define the relation method. 2014-11-05 14:50 GMT+08:00 Fabien Franzen [email protected]: > You should fetch() within that...
For example, I defined the relation Category.hasMany( Product); when I define method on this relation in category.js, In some case ,the Product model would be not loaded. I see the...
Thanks for your answer I tried it ,but it doesn't work . I set the ttl like this, "ttl": { "type": "number", "ttl": true, "default": 5, "description": "time to live...
@raymondfeng https://github.com/raymondfeng , I want the token valid time more than '129600'(two weeks). How can I do ? I set the 'ttl' to '31449600'(52 weeks) in my model which extended...
This is my app 'Account.json'. { "name": "Account", "plural": "accounts", "base": "User", "Model": { "Master": "Master", "Servant": "Servant", "AccessToken": "AccessToken", "Role": "Role" }, "ttl": 31449600, "properties": { "cellphone": { "type":...