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

chore: upgrade to kratos v13 #2563

Merged
merged 1 commit into from Apr 24, 2023
Merged

Conversation

nicolasburtey
Copy link
Member

No description provided.

@nicolasburtey nicolasburtey force-pushed the chore--upgrade-to-kratos-v13 branch 2 times, most recently from 97e198b to 966095c Compare April 23, 2023 09:08
@nicolasburtey nicolasburtey marked this pull request as ready for review April 23, 2023 09:17
Copy link
Member

@bodymindarts bodymindarts left a comment

Choose a reason for hiding this comment

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

I'm approving but think we should remove / handle comments.


// we expect the phone number to not exist
if (user instanceof Error) {
console.log("phone doesn't already exist")
Copy link
Member

Choose a reason for hiding this comment

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

Can we send an OTEL event instead of log?

return
}

console.error("phone already exist")
Copy link
Member

Choose a reason for hiding this comment

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

Otel event vs log?

return
}

// TODO
Copy link
Member

Choose a reason for hiding this comment

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

Is this really needed? I don't think we will loose site of the fact that we may want to implement email+pw

@@ -51,16 +107,18 @@ kratosRouter.post(

const userIdChecked = checkedToUserId(userId)
if (userIdChecked instanceof Error) {
// TODO: log this error as critical to honeycomb
Copy link
Member

Choose a reason for hiding this comment

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

Then we should probably do it pre-merge or?

@@ -83,6 +141,7 @@ kratosRouter.post(
}

if (account instanceof Error) {
// TODO: log this error as critical to honeycomb
Copy link
Member

Choose a reason for hiding this comment

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

Then we should do it pre-merge

@nicolasburtey nicolasburtey merged commit a1b40dc into main Apr 24, 2023
12 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.

None yet

2 participants