-
Notifications
You must be signed in to change notification settings - Fork 19
feat: Internal environment ID support. #217
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
Conversation
…e-for-2.x-event-source
…darkly/flutter-client-sdk into rlamb/update-for-2.x-event-source
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.
Removing temporary changes from the major versioning of the event source client.
// (credential). | ||
if (_store.environmentId != null) { | ||
await _persistence?.set( | ||
_environmentKey, _envIdKey, _store.environmentId!); |
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.
Is this bang avoidable?
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.
It is checked before, but the dart compiler still wanted it. I think because maybe it doesn't know the parameter evaluation happens before the async operation.
This PR propagates the environment ID internal to the common client.
A subsequent PR will add hooks support and utilize this environment ID support.