Replies: 3 comments 1 reply
-
This is ideal however, I think we are restricted for HTTP in the near term. Since the SDK abstracts calls with methods we can swap out the internals when we can. |
Beta Was this translation helpful? Give feedback.
1 reply
-
To capture this here for discussion: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Locking this since it seems to be moved to: https://github.com/kubelt/kubelt/discussions/349 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What
Add an RPC interface to cores so that users and other cores can call operations on them.
Why
The main benefits are:
How
I like the GraphQL approach for various reasons. It is primarily designed to get fields from objects, but can have any arbitrary set of resolver functions to achieve this. I like how extensible it is, and that the query shape matches the result. These would improve the developer experience imo. It also conforms to the vision of pushing opinionation to the edge - applications can decide what data they need and how it should be formatted etc.
Example alias lookup
request:
{ subcore: core(id: "0xaeaeaeaeaeaeaeaeaeaeae") { alias(name: "images") } }
response:
{ "data": { "subcore": { "alias": "0xdeadbeefdeadbeef" } } }
Beta Was this translation helpful? Give feedback.
All reactions