Skip to content

Conversation

0xsequence-bot
Copy link
Contributor

@0xsequence-bot 0xsequence-bot requested review from a team as code owners May 5, 2025 10:07
createCurrencies(args: CreateCurrenciesArgs, headers?: object, signal?: AbortSignal): Promise<CreateCurrenciesReturn>
updateCurrency(args: UpdateCurrencyArgs, headers?: object, signal?: AbortSignal): Promise<UpdateCurrencyReturn>
listCurrencies(headers?: object, signal?: AbortSignal): Promise<ListCurrenciesReturn>
listCurrencies(args: ListCurrenciesArgs, headers?: object, signal?: AbortSignal): Promise<ListCurrenciesReturn>
Copy link
Contributor

Choose a reason for hiding this comment

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

@AlexanderKolberg hmm, is this technically a breaking change?

Should we always generate args: ListCurrenciesArgs no matter if there are any input arguments?

Copy link
Member

Choose a reason for hiding this comment

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

"Technically" yes, but I can't imagine that anyone has used the other props.
But you have a very valid point, we should just had had a empty args object. But i guess we have to make it optional so it doest look so ugly listCurrencies({})

Copy link
Contributor

Choose a reason for hiding this comment

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

yep, good idea on the optional arg

do you mind adding it to webrpc/gen-typescript?

args?: {}
vs.
args: ListCurrenciesArgs
right?

@0xsequence-bot 0xsequence-bot force-pushed the update_marketplace_client branch from ed17bfb to 8714316 Compare June 16, 2025 14:04
@0xsequence-bot 0xsequence-bot force-pushed the update_marketplace_client branch from 8714316 to 4013de6 Compare August 18, 2025 12:12
@0xsequence-bot 0xsequence-bot force-pushed the update_marketplace_client branch 2 times, most recently from a2caa84 to e937c96 Compare September 12, 2025 12:14
@0xsequence-bot 0xsequence-bot force-pushed the update_marketplace_client branch from c38e2db to 34c42ca Compare October 6, 2025 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants