Skip to content

Client call args#183

Merged
DavyJohnes merged 2 commits intoalphafrom
ClientCallArgs
Jan 28, 2025
Merged

Client call args#183
DavyJohnes merged 2 commits intoalphafrom
ClientCallArgs

Conversation

@GermanVor
Copy link

No description provided.

@GermanVor GermanVor requested a review from DavyJohnes January 16, 2025 15:03
@GermanVor GermanVor changed the base branch from master to alpha January 16, 2025 15:12
Comment on lines +6 to +8
export type ClientCallArgs = RetryOptions | DeadlineOptions;

export const clientFactory: ClientFactory<ClientCallArgs> = createClientFactory()
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

было бы круто достать тип императивно из clientFactory, но я не смог - аля

export type ClientCallArgs = SomeCoolGenericDestructor<typeof clientFactory>

import { errorMetadataMiddleware } from '../middleware/error-metadata';

export const clientFactory = createClientFactory()
export type ClientCallArgs = RetryOptions | DeadlineOptions;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
export type ClientCallArgs = RetryOptions | DeadlineOptions;
export type ClientCallArgs = RetryOptions & DeadlineOptions;

?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

da

fb7e4fc

@GermanVor GermanVor requested a review from DavyJohnes January 28, 2025 09:35
@DavyJohnes DavyJohnes merged commit acfb697 into alpha Jan 28, 2025
3 of 4 checks passed
@yandex-cloud-bot
Copy link
Collaborator

🎉 This PR is included in version 3.0.0-alpha.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

@GermanVor GermanVor deleted the ClientCallArgs branch January 28, 2025 12:35
@yandex-cloud-bot
Copy link
Collaborator

🎉 This PR is included in version 3.0.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants