-
Notifications
You must be signed in to change notification settings - Fork 43
[DOC] inconsistent documentation for usage of openfeature.NewClient #350
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
Comments
Hey @sahidvelji, this is a great catch. I think we should depreciate |
@sahidvelji ya I think you're right... I think we should do a couple things:
cc @beeme1mr |
I'd probably lean more towards We should also consider:
|
I think I'd like to better understand the problem first, as the suggested changes are quite significant. What was the intention behind this comment?
Why not continue using func NewClient(domain string) *Client which already uses the parameter name
Given the above, do we need to deprecate |
Functionally, it works, but the names are confusing. Perhaps we could start formalizing a list of 2.0 changes and consider going that route. |
Change in the documentation
The documentation for NewClient states
But, all of the documentation uses NewClient: https://openfeature.dev/docs/reference/technologies/server/go
Should NewClient be marked deprecated? Is the following the intended usage?
Should the documentation be updated to replace usage of NewClient with the above?
The text was updated successfully, but these errors were encountered: