-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
refactor(client): make parsing async and config an opaque string #2324
Conversation
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.
Thanks for splitting this out from the other PR. It will make it easier to digest and review the config change.
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.
Thanks for splitting the PR! This is a lot clearer and easier to review! The logic looks good, with some small comments.
Co-authored-by: J. Yi <[email protected]>
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.
Cool! Thanks for the update.
This PR turns config parsing async, in preparation for parsing in the Go code. It had ripple effect all over the Typescript code.
This also changes the parsing API to output firstHop + transport, with transport being an opaque string as opposed to an object.