Closed jirenius closed 3 years ago
Resolved in #164
Reopen after reverting the merge.
The revert was made as the feature added too much complexity to the protocol in comparison to what it solved. A less complex solution that solves the same need for arbitrary data, is tried out in the data value feature.
Closing as a static resource type will not be the solution for the problem.
Issue
A static resource type should be added that allows arbitrary structures of JSON to be passed to the client.
The type will have no events describing mutations. It can be used for data which does not change, or data which the client should not be notified of changes.
Implementation
Service get response
The response to a get request follows the same pattern as for model resources, but with the parameter key
"static"
.It may look like this:
Client get response
The response follows the same pattern, but the resource set will have an additional optional field,
"statics"
:Notes