We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7f07fa commit b0b6cd2Copy full SHA for b0b6cd2
README.md
@@ -374,10 +374,10 @@ when calling the protobuf compiler:
374
375
376
```
377
-protoc -I . --custom_opt=pydantic_dataclasses --python_betterproto_out=lib example.proto
+protoc -I . --python_betterproto_opt=pydantic_dataclasses --python_betterproto_out=lib example.proto
378
379
380
-With the important change being `--custom_opt=pydantic_dataclasses`. This will
+With the important change being `--python_betterproto_opt=pydantic_dataclasses`. This will
381
swap the dataclass implementation from the builtin python dataclass to the
382
pydantic dataclass. You must have pydantic as a dependency in your project for
383
this to work.
0 commit comments