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

Sdk 2235 share v 2 retrieve receipt #289

Merged

Conversation

mehmet-yoti
Copy link
Contributor

No description provided.

Copy link

@irotech irotech left a comment

Choose a reason for hiding this comment

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

could you please review the commits messages?

digitalidentity/service.go Outdated Show resolved Hide resolved
digitalidentity/service.go Outdated Show resolved Hide resolved
digitalidentity/service.go Outdated Show resolved Hide resolved
digitalidentity/service.go Outdated Show resolved Hide resolved
share.SessionID = receiptResponse.ID
share.UserContent = userContent

return share, err
Copy link

Choose a reason for hiding this comment

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

receipt or similar?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Upodated

digital_identity_client.go Outdated Show resolved Hide resolved
digitalidentity/service.go Outdated Show resolved Hide resolved
digitalidentity/service.go Show resolved Hide resolved
digitalidentity/service.go Outdated Show resolved Hide resolved
digitalidentity/service.go Outdated Show resolved Hide resolved
_examples/digitalidentity/main.go Outdated Show resolved Hide resolved
_examples/digitalidentity/main.go Outdated Show resolved Hide resolved
_examples/digitalidentity/main.go Show resolved Hide resolved
_examples/digitalidentity/main.go Outdated Show resolved Hide resolved
_examples/digitalidentity/main.go Outdated Show resolved Hide resolved
digitalidentity/service.go Outdated Show resolved Hide resolved
digitalidentity/receipt_item_key.go Outdated Show resolved Hide resolved
digitalidentity/service.go Outdated Show resolved Hide resolved
digitalidentity/service.go Outdated Show resolved Hide resolved
digitalidentity/service.go Outdated Show resolved Hide resolved
digitalidentity/service.go Outdated Show resolved Hide resolved
digitalidentity/service.go Outdated Show resolved Hide resolved
digitalidentity/service.go Outdated Show resolved Hide resolved
cryptoutil/crypto_utils.go Outdated Show resolved Hide resolved
_examples/digitalidentity/images/.keep Outdated Show resolved Hide resolved
_examples/digitalidentity/login.html Outdated Show resolved Hide resolved
_examples/digitalidentity/main.go Outdated Show resolved Hide resolved
_examples/profile/dynamic-share.html Outdated Show resolved Hide resolved
_examples/profile/login.html Outdated Show resolved Hide resolved
consts/version.go Outdated Show resolved Hide resolved
cryptoutil/crypto_utils.go Outdated Show resolved Hide resolved
cryptoutil/crypto_utils.go Outdated Show resolved Hide resolved
mehmet-yoti and others added 2 commits November 23, 2023 14:46
Co-authored-by: Klaidas Urbanavicius <klaidasurbanavicius@yahoo.co.uk>
Co-authored-by: Klaidas Urbanavicius <klaidasurbanavicius@yahoo.co.uk>
mehmet-yoti and others added 10 commits November 23, 2023 14:47
Co-authored-by: Klaidas Urbanavicius <klaidasurbanavicius@yahoo.co.uk>
Co-authored-by: Klaidas Urbanavicius <klaidasurbanavicius@yahoo.co.uk>
Co-authored-by: Klaidas Urbanavicius <klaidasurbanavicius@yahoo.co.uk>
Co-authored-by: Klaidas Urbanavicius <klaidasurbanavicius@yahoo.co.uk>
Co-authored-by: Klaidas Urbanavicius <klaidasurbanavicius@yahoo.co.uk>
Co-authored-by: Klaidas Urbanavicius <klaidasurbanavicius@yahoo.co.uk>
Co-authored-by: Klaidas Urbanavicius <klaidasurbanavicius@yahoo.co.uk>
Co-authored-by: Klaidas Urbanavicius <klaidasurbanavicius@yahoo.co.uk>
@mehmet-yoti mehmet-yoti requested a review from klaidas November 27, 2023 12:46
cryptoutil/crypto_utils.go Outdated Show resolved Hide resolved
mehmet-yoti and others added 2 commits December 7, 2023 07:58
Co-authored-by: Klaidas Urbanavicius <klaidasurbanavicius@yahoo.co.uk>
digitalidentity/service.go Outdated Show resolved Hide resolved
digitalidentity/service.go Outdated Show resolved Hide resolved
digitalidentity/service.go Outdated Show resolved Hide resolved

responseBytes, err := io.ReadAll(response.Body)
if err != nil {
return receipt, fmt.Errorf("failed to get read response body: %v", err)
Copy link
Collaborator

Choose a reason for hiding this comment

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

all of these say get read should just be read

digitalidentity/service.go Outdated Show resolved Hide resolved
digitalidentity/service.go Outdated Show resolved Hide resolved
@klaidas
Copy link
Collaborator

klaidas commented Dec 12, 2023

Some minor mistakes in error messages that would be nice to clean up before merging, but all looks good now 👍

@mehmet-yoti mehmet-yoti requested a review from irotech December 13, 2023 13:16
Copy link

@irotech irotech left a comment

Choose a reason for hiding this comment

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

Looks fine from the API POV

Other concerns still stand:

  • Too many commits
  • Too generic or not relevant commits messages
  • Too many changes not related to the feature
  • Static checks and quality gates not achieved

mehmet-yoti and others added 3 commits December 14, 2023 09:50
Co-authored-by: Klaidas Urbanavicius <klaidasurbanavicius@yahoo.co.uk>
Co-authored-by: Klaidas Urbanavicius <klaidasurbanavicius@yahoo.co.uk>
@mehmet-yoti mehmet-yoti merged commit ac64677 into SDK-2259-go-retrieve-qr-code Dec 14, 2023
5 of 6 checks passed
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.

3 participants