You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thanks so much for this project. It's been a great journey so far and I am still learning.
I'm trying to understand how to use ResClient/ResModel to set model properties (including nested properties/arrays/etc), but am having trouble finding the documentation for this.
At first glance it seems like this is a gap in the documentation, which is why I am filing an issue, not asking a question on the forums (though I will also do that.) Could someone point me in the right direction if I have missed them? Otherwise, please consider this a polite note that there may be a gap :)
Thanks so much!
The text was updated successfully, but these errors were encountered:
So for anyone else who ends up here, I read the source code, and it seems that model.set() is just calling client.setModel(), which calls: ''this._send('call', modelId, 'set', props);"
You'd then need to have an appropriate handler in your res-server implementation to handle the call, which I am trying to figure out how to structure properly.
Hey all!
First, thanks so much for this project. It's been a great journey so far and I am still learning.
I'm trying to understand how to use ResClient/ResModel to set model properties (including nested properties/arrays/etc), but am having trouble finding the documentation for this.
At first glance it seems like this is a gap in the documentation, which is why I am filing an issue, not asking a question on the forums (though I will also do that.) Could someone point me in the right direction if I have missed them? Otherwise, please consider this a polite note that there may be a gap :)
Thanks so much!
The text was updated successfully, but these errors were encountered: