-
Notifications
You must be signed in to change notification settings - Fork 43
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
chore: remove redundant SingleShardInfo type #2086
Comments
Taking an example of where If we deprecate |
This is a valid concern and I agree. We can keep Let's re-iterate:
Because they are not compatible - we have to use mapping function, it's easy to get confused and we got bugs in the past. type SingleShardInfo = {
clusterId: number;
shards: [number];
}; wdyt, @danisharora099 ? |
Low priority, assuming it will be done in some of the upcoming API improvements. |
This is a change request
Problem
Both
ShardInfo
andSingleShardInfo
at the same time make experience confusing and prone to errors as they are not compatible with each other.Proposed Solutions
Use only
ShardInfo
.The text was updated successfully, but these errors were encountered: