You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using grpc (started with grpc example), and need to add some more methods in API part (in the example, there is set and get methods, I want to add set_extra1, set_extra2, etc.). I changed proto files and everything looks good, but I don't know what should be set in D part of TypeConfig.
openraft::declare_raft_types!(
pub TypeConfig:
D = THIS ACCEPT JUST ONE METHOD,
R = Response,
Node = Node,
SnapshotData = StateMachineData,
);
The text was updated successfully, but these errors were encountered:
I am using grpc (started with grpc example), and need to add some more methods in API part (in the example, there is set and get methods, I want to add set_extra1, set_extra2, etc.). I changed proto files and everything looks good, but I don't know what should be set in D part of TypeConfig.
openraft::declare_raft_types!(
pub TypeConfig:
D = THIS ACCEPT JUST ONE METHOD,
R = Response,
Node = Node,
SnapshotData = StateMachineData,
);
The text was updated successfully, but these errors were encountered: