-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat: add new storage clients to nodejs/web sdks #1318
Conversation
packages/core/src/messages/responses/enums/store/scalar/index.ts
Outdated
Show resolved
Hide resolved
52eeae8
to
db61fa0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just clearing this off of my review list for now, please add me again when it's ready for 👀 !
db61fa0
to
88eda1e
Compare
packages/client-sdk-nodejs/src/config/storage-configurations.ts
Outdated
Show resolved
Hide resolved
packages/client-sdk-nodejs/src/internal/storage-control-client.ts
Outdated
Show resolved
Hide resolved
packages/client-sdk-nodejs/src/internal/storage-control-client.ts
Outdated
Show resolved
Hide resolved
packages/core/src/messages/responses/enums/store/scalar/index.ts
Outdated
Show resolved
Hide resolved
packages/core/src/messages/responses/storage/control/list-stores.ts
Outdated
Show resolved
Hide resolved
a248471
to
16ddc22
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just took a quick peek. I have to step afk for a bit but I probably want to experiment with pulling the values out into their own class or interface and see how that feels compared to this.
packages/client-sdk-nodejs/src/config/transport/storage/grpc-configuration.ts
Outdated
Show resolved
Hide resolved
packages/client-sdk-nodejs/src/config/transport/storage/grpc-configuration.ts
Outdated
Show resolved
Hide resolved
packages/client-sdk-nodejs/src/config/transport/storage/grpc-configuration.ts
Outdated
Show resolved
Hide resolved
packages/client-sdk-nodejs/src/config/transport/storage/transport-strategy.ts
Outdated
Show resolved
Hide resolved
packages/client-sdk-nodejs/src/internal/storage-control-client.ts
Outdated
Show resolved
Hide resolved
packages/core/src/messages/responses/storage/scalar/storage-get.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very polished and thorough. I have a suggestion re: ItemNotFoundError
and the enum. The rest are minor concerns.
packages/core/src/messages/responses/storage/scalar/storage-get.ts
Outdated
Show resolved
Hide resolved
packages/core/src/messages/responses/storage/scalar/storage-value.ts
Outdated
Show resolved
Hide resolved
I fixed s/ItemNotFoundError/StoreItemNotFoundError in the pr |
relies on momentohq/client-protos#285 to get merged first in order to consume protos from npmjs rather than locally