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

Allow customising ClientOptions when creating a new client #29

Open
jorgelc opened this issue Aug 14, 2024 · 1 comment
Open

Allow customising ClientOptions when creating a new client #29

jorgelc opened this issue Aug 14, 2024 · 1 comment

Comments

@jorgelc
Copy link

jorgelc commented Aug 14, 2024

At the moment, the client options are created only from the connection URI.

This means that only connection string options can be used.

It would be interesting to pass custom ClientOptions when creating a new client, allowing settings not available in the connection string (such as ServerAPIOptions).

@jorgelc
Copy link
Author

jorgelc commented Aug 14, 2024

In case it is of any use, I have added a draft implementation in this PR #30

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

No branches or pull requests

1 participant