Replies: 1 comment
-
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

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
Currently our agent speaks JSON graphql there are two features coming up that will benefit from a better optimized protocol like gRPC.
Solution
Implement gRPC mutations on the server and switch the
implants/libl/tavernpackage to use gRPC.This will remove JSON graphql support from the agent (Beacon API)
This is preferred since maintaining both graphql and gRPC mutations on the client is bulky, and maintaining generated mutations for both JSON graphql and gRPC is complicated.
User interaction through the API or Front-end (Operator API) will still be managed through the the JSON graphql API since this is a more readable format and easier for frameworks like React to interact with.
Some mutations are required by the Operator API and not the Beacon API such as:
createJobcreateTagupdateTagcreateTomeupdateUserSome queries may be required by Operator API and Beacon API.
query filesThese mutations and queries will either need to be specially managed during code generation or cerated by hand.
Beta Was this translation helpful? Give feedback.
All reactions