You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: ArgumentNullException when creating a client with optional name (#508)
<!-- Please use this template for your pull request. -->
<!-- Please use the sections that you need and delete other sections -->
## This PR
<!-- add the description of the PR here -->
- Adds a default placeholder name that gets generated when a Client is
generated. This is inspired from the Java SDK (see
[EventSource.java](https://github.com/open-feature/java-sdk/blob/0515ad54c4f71863373eb1b7f429393923b27d90/src/main/java/dev/openfeature/sdk/EventSupport.java#L40)).
The exception is thrown when an optional client name is specified when
retrieving a client from `Api.Instance`. When no name is specified we
use a generated one.
### Related Issues
<!-- add here the GitHub issue that this PR resolves if applicable -->
Fixes#491
### Notes
<!-- any additional notes for this PR -->
### Follow-up Tasks
<!-- anything that is related to this PR but not done here should be
noted under this section -->
<!-- if there is a need for a new issue, please link it here -->
### How to test
<!-- if applicable, add testing instructions under this section -->
---------
Signed-off-by: Kyle Julian <[email protected]>
Co-authored-by: André Silva <[email protected]>
0 commit comments