Skip to content

Conversation

@george-bafaloukas-forgerock
Copy link
Contributor

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:

  • I ran all unit tests and they pass
  • I added test case coverage for my changes

Copy link

@witrisna witrisna left a 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.

Copy link
Contributor

@vahancouver vahancouver left a 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
}
Copy link
Contributor

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:


switch nextNode {
case is ContinueNode:
await handleCallbacks(nextNode as! ContinueNode)
Copy link
Contributor

Choose a reason for hiding this comment

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

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants