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

Convert framework - create a mechanism for fall back converter #133

Open
greenlaw110 opened this issue Jul 11, 2018 · 0 comments
Open

Convert framework - create a mechanism for fall back converter #133

greenlaw110 opened this issue Jul 11, 2018 · 0 comments
Assignees

Comments

@greenlaw110
Copy link
Collaborator

Certainly there are multiple convert paths, e.g. from a String to a DateTime it could be

  1. String -> DateTime directly via StringFormat
  2. String -> long -> DateTime if the String is a Unix Epoch

The mechanism shall allow it try the next path if the current path conversion failed. To avoid performance issue the fallback shall only effective through specific API flag

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

No branches or pull requests

1 participant