-
Notifications
You must be signed in to change notification settings - Fork 21
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 momento-local-test-config-middleware #1517
Conversation
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.
yeah, looking good!
I forget, but does new middleware need to be exported in one of the index.ts files too?
...s/client-sdk-nodejs/test/unit/config/middleware/momento-local-test-config-middleware.test.ts
Outdated
Show resolved
Hide resolved
...s/client-sdk-nodejs/test/unit/config/middleware/momento-local-test-config-middleware.test.ts
Outdated
Show resolved
Hide resolved
I think this middleware and the various data structures here best belong in a separate package, eg |
833b157
to
65eca3a
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.
looking good! had some questions
...client-sdk-nodejs/src/config/middleware/experimental-momento-local-test-config-middleware.ts
Show resolved
Hide resolved
packages/client-sdk-nodejs/src/config/retry/momento-error-code-metadata-converter.ts
Outdated
Show resolved
Hide resolved
packages/client-sdk-nodejs/test/integration/retry/fixed-timeout-retry-strategy.test.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.
Looks much cleaner! Thanks. Just a couple questions/small nits
PR Description:
Issue
https://github.com/orgs/momentohq/projects/68/views/2