Skip to content

Commit b0b6cd2

Browse files
authored
Fix pydantic_dataclasses reference in README (#474)
1 parent e7f07fa commit b0b6cd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -374,10 +374,10 @@ when calling the protobuf compiler:
374374

375375

376376
```
377-
protoc -I . --custom_opt=pydantic_dataclasses --python_betterproto_out=lib example.proto
377+
protoc -I . --python_betterproto_opt=pydantic_dataclasses --python_betterproto_out=lib example.proto
378378
```
379379

380-
With the important change being `--custom_opt=pydantic_dataclasses`. This will
380+
With the important change being `--python_betterproto_opt=pydantic_dataclasses`. This will
381381
swap the dataclass implementation from the builtin python dataclass to the
382382
pydantic dataclass. You must have pydantic as a dependency in your project for
383383
this to work.

0 commit comments

Comments
 (0)