-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add complex inline structures to the viwi protocol #59
Comments
In the RSI protocol document, author specifies the graph interface where all leaf nodes seems to have a primitive value (int, string, etc.). I wonder the primitives you mentioned is same as the primitive value for the leaf nodes I mentioned. In general, the leaf nodes could have a value as a nested object within a JSON format while I guess you want to make the leaf nodes have a value like a inline string with complex structure. Am I right? I'd like to see a use case to understand why the complex data structures with inline need. |
@anawhj You are partially right. I want to nest complex JSON structures in leaf node properties. E.g. PlayerObject:
In this example, I want to group the artist name with additional information. The birthday is again a substructure. I still want to handle the complex sturcture as "like primitive", as you will not be able to access birthday or name directly, nor filter nor any other complex operation. It would just be a well structured "BLOB" of data, Events will fire when it changes.. regardless of changes in "name" or "birthday". I will publish a concrete Pull-Request before Thursday this week. |
Just opened the PR referenced above: |
For some use cases it might be needed to allow complex data structures in addition to primitives
(see automotive-bg/rsi/protocol/)
The text was updated successfully, but these errors were encountered: