Skip to content
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

add getCustomerId to the interface #19

Merged
merged 4 commits into from
Sep 1, 2020

Conversation

art333
Copy link
Contributor

@art333 art333 commented Aug 31, 2020

No description provided.

/**
* will request customer pseudo id for currently logged user from consent backend
*/
getCustomerId(additionalParameter?: Map<string, string[]>): Promise<string>;

Choose a reason for hiding this comment

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

mich wundert nur dass es hier keine spezifischen parameter gibt... welche additional parameters gibt es denn?

das typing soll ja eigtl. helfen wenn man das modul nutzt. so frag ich mich was ich da mitgeben kann und warum

Copy link
Contributor Author

Choose a reason for hiding this comment

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

"clientId" ist so ein pflicht parameter. Ich dachte ich mache mir alle parameters als additional ^^ aber ok ich habe jetzt noch "clientId: string" da hinzugefügt

Choose a reason for hiding this comment

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

aber was sind denn die additional parameters? ... das ist so als ob du in java zu Object castest und das ist dann die API

Copy link
Contributor

Choose a reason for hiding this comment

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

Schonmal generisch für alle alle kommenden Parameter vorbereitet? ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ja ich dachte erst dass wir es generisch machen wollen wie bei doLogin, doRegister und so :D aber egal ich habe nur das "clientId" da gelasen. Erst sollte es passen :D

src/ps-web-apis.ts Outdated Show resolved Hide resolved
@art333 art333 requested a review from andrespringt August 31, 2020 11:36
@art333 art333 merged commit 8cea0ef into master Sep 1, 2020
@art333 art333 deleted the SPR-9910-extend-interface-customer-id branch September 1, 2020 08:51
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