vaticle / typedb-docs

TypeDB Documentation
25 stars 72 forks source link

Missing using in C# driver example #865

Closed gbtb closed 2 months ago

gbtb commented 2 months ago

Description of issue

using TypeDB.Driver.Api; using TypeDB.Driver.Common;

Example in the docs doesn't compile because one using is missing. error CS0103: The name 'Drivers' does not exist in the current context

Package versions I used:

<PackageReference Include="TypeDB.Driver" Version="2.28.0" />
<PackageReference Include="TypeDB.Driver.Pinvoke.linux-x64" Version="2.28.0" />

Affected docs article

https://typedb.com/docs/drivers/csharp/overview

Suggested solution

using TypeDB.Driver; using TypeDB.Driver.Api; using TypeDB.Driver.Common;

izmalk commented 2 months ago

Good catch. Strangely, the original implementation worked on my machine. I've added the line and re-tested everything.