-
Notifications
You must be signed in to change notification settings - Fork 218
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
ref(store): Remove unused RPC Client #672
Conversation
The store does not use the RPC client at all. Remove it.
Is this used on the CLI to get status or whatever from the service? Ie the outside API? |
I don't think so, that's done by the rpc server which is still started. |
It was done only in preparation, as the store will need this eventually, to make sure that the architecture is not built such that it assumes the store doesn't need the rpc client. |
So can I convince people this doesn't buy us anything? We have plenty of examples to build the RpcClient. A client that's unused in a struct doesn't make us do anything we shouldn't: it is Send and Sync anyway and since it's unused it does not get passed around anywhere. Once there's a use for it I don't think there's going to be any major hurdle to add it. Personally I find it difficult to reason about things when the types don't match what's unused. The type system should help show what goes where. |
you can, fine to remove for now imo |
The store does not use the RPC client at all. Remove it.
yolo, let's see what breaks
CI doens't break! It must be good. Teach me why not :)