-
Notifications
You must be signed in to change notification settings - Fork 63
Update marketplace client #745
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
base: v2
Are you sure you want to change the base?
Conversation
@@ -532,11 +532,12 @@ export interface Admin { | |||
createCurrency(args: CreateCurrencyArgs, headers?: object, signal?: AbortSignal): Promise<CreateCurrencyReturn> | |||
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> |
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.
@AlexanderKolberg hmm, is this technically a breaking change?
Should we always generate args: ListCurrenciesArgs
no matter if there are any input arguments?
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.
"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({})
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.
yep, good idea on the optional arg
do you mind adding it to webrpc/gen-typescript?
args?: {}
vs.
args: ListCurrenciesArgs
right?
ed17bfb
to
8714316
Compare
8714316
to
4013de6
Compare
4013de6
to
a2caa84
Compare
a2caa84
to
e937c96
Compare
Triggered by https://github.com/0xsequence/marketplace-api/commit/c053fea4594384910a1577d8aa5cfcac10fce20d