-
Notifications
You must be signed in to change notification settings - Fork 4
Adding migration.md file for Journey migration from the legacy FR SDK #120
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: develop
Are you sure you want to change the base?
Conversation
witrisna
left a comment
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.
Looks good to me, not sure we need to have all the Callbacks documented, like NameCallback, PasswordCallback, ... since most of the simple Callbacks use similar interface.
May try to feed this MD file to AI and see how well it handles the migration.
vahancouver
left a comment
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.
Looks very good.
Just some changes needed in the "modern" swift snippets
|
|
||
| default: | ||
| break | ||
| } |
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.
we can use a better syntax here I think to avoid force unwrapping and to be more concise:
case let failureNode as FailureNode:
Journey/migration.md
Outdated
|
|
||
| switch nextNode { | ||
| case is ContinueNode: | ||
| await handleCallbacks(nextNode as! ContinueNode) |
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.
same here
JIRA Ticket
JIRA "Interface Mapping - Legacy vs. New Ping SDK (Journey Module)"
Description
Adding the migration.md file for migrating the legacy FR SDK to the new Journey module
Checklist: