You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior Optional should be replaced by union operator |, e.g. Optional[str] should be replaced by str | None. List should be replaced by standard type list
Version:
OS: MAC OS Sonoma 14.4.1
Python version: 3.11.9
datamodel-code-generator version: 0.25.6
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
CLI options
use-standard-collections
anduse-union-operator
are not being applied for input file typegraphql
To Reproduce
Example schema:
Used commandline:
Expected behavior
Optional
should be replaced by union operator|
, e.g.Optional[str]
should be replaced bystr | None
.List
should be replaced by standard typelist
Version:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: