Skip to content

Commit

Permalink
[DOCS-3652] Note LINQ API is in preview (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig authored Oct 23, 2024
1 parent 9cbcad5 commit 68f8ee8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,12 @@ var person = (Person)result.Data!;
Console.WriteLine(person.FirstName);
```

### LINQ-based queries
### LINQ-based queries (preview)

Last but not least, your DataContext subclass provides a LINQ-compatible API for type-safe querying.
> [!IMPORTANT]
> This functionality is in preview and may change in future releases.
DataContext provides a LINQ-compatible API for type-safe querying.

```csharp
// general query
Expand Down Expand Up @@ -319,7 +322,7 @@ To enable debug logging, set the `FAUNA_DEBUG` environment variable to an intege

The driver logs HTTP request and response details, including headers. For security, the `Authorization` header is redacted in debug logs but is visible in trace logs.

> [!NOTE]
> [!NOTE]
> As of v1.0.0, the driver only outputs `LogLevel.Debug` messages. Use `0` (Trace) or `1` (Debug) to log these messages.
For advanced logging, you can use a custom `ILogger` implementation, such as Serilog or NLog. Pass the implementation to the `Configuration` class when instantiating a `Client`.
Expand Down

0 comments on commit 68f8ee8

Please sign in to comment.