Skip to content

Commit

Permalink
Spellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalp committed Mar 4, 2024
1 parent f6dd45e commit a6175b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/blog/2024-03-4-ariadne-codegen-0-13.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Ariadne Codegen 0.13 is now available. This is a bugfix release that addresses r

## Re-added `model_rebuild` calls

Ariadne Codegen 0.11 removed `model_rebuild` calls from the generated code on basis of Pydantic v2's self-healing capabilities.
Ariadne Codegen 0.11 removed `model_rebuild` calls from the generated code on the basis of Pydantic v2's self-healing capabilities.

Sadly reality verified this feature, making it necessary for us to mostly revert the change from 0.11.

Expand All @@ -17,7 +17,7 @@ Ariadne Codegen 0.13 scans generated models for forward references and includes

## Fixed potential name conflicts between field args and generated client's method code

Naming a field argument `query`, `variables`, `data` or `result` would prevent generated method to work or produce type errors for variable redefinition with different type.
Naming a field argument `query`, `variables`, `data` or `result` would prevent the generated method to work or produce type errors for variable redefinition with different type.

Ariadne Codegen 0.13 detects name collisions and then prefixes its own names with `_` in generated client's methods.

Expand Down

0 comments on commit a6175b8

Please sign in to comment.