Skip to content

Commit 164e4bc

Browse files
committed
[ksqlDb.RestApi.Client]: fixed model builder doc AsStruct typo
1 parent 397009d commit 164e4bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/modelbuilder.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,12 +277,12 @@ INSERT INTO Payments (Id, Amount, Desc)
277277
VALUES ('1', 33, 'Purchase');
278278
```
279279

280-
### AsSource
280+
### AsStruct
281281
**v6.3.0**
282282

283-
The `AsSource` function designates fields in entity types as ksqlDB struct types.
283+
The `AsStruct` function designates fields in entity types as ksqlDB struct types.
284284

285-
The following code showcases how to use the `AsSource` method in the fluent API to infer the underlying `ksqlDB` type as a struct during code generation:
285+
The following code showcases how to use the `AsStruct` method in the fluent API to infer the underlying `ksqlDB` type as a struct during code generation:
286286

287287
```C#
288288
private record KeyValuePair

0 commit comments

Comments
 (0)