surrealdb / docs.surrealdb.com

The documentation for SurrealDB, powered by Astro
https://surrealdb.com/docs/
75 stars 137 forks source link

Bug: Automatic inference of the protocol format is deprecated in SurrealDB 2.0 and will be removed in SurrealDB 3.0. #884

Open mahbubabbas opened 1 month ago

mahbubabbas commented 1 month ago

Describe the bug

Can not connect with latest 2.0.1. Golang SDK is producing this error Automatic inference of the protocol format is deprecated in SurrealDB 2.0 and will be removed in SurrealDB 3.0.

Steps to reproduce

Automatic inference of the protocol format is deprecated in SurrealDB 2.0 and will be removed in SurrealDB 3.0.

Expected behaviour

Should connect

Contact Details

SurrealDB 2.0.1, Golang SDK 0.2.1

Is there an existing issue for this?

Code of Conduct

RaghavBhat02 commented 1 month ago

Thanks for sharing 🙏 . I wasn't able to completely understand what you're saying.

Are the following correct?

  1. You copied the docs in trying to connect
  2. Got an error