-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Static resource type #163
Labels
enhancement
New feature or request
Comments
jirenius
added a commit
that referenced
this issue
Jun 9, 2020
jirenius
added a commit
that referenced
this issue
Jun 9, 2020
jirenius
added a commit
that referenced
this issue
Jun 9, 2020
jirenius
added a commit
that referenced
this issue
Jun 10, 2020
jirenius
added a commit
that referenced
this issue
Jun 10, 2020
jirenius
added a commit
that referenced
this issue
Jun 10, 2020
…-type Feature/gh 163 static resource type
Resolved in #164 |
This was referenced Jun 10, 2020
Closed
jirenius
added a commit
that referenced
this issue
Jun 11, 2020
…ource type." This reverts commit 0a092cf.
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: