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
FOO_bar -> fo_o_bar # would prefer foo_bar
FOO_BAR -> fo_o_bar # would prefer foo_bar
Could be fixed by adding a line after: https://github.com/mirumee/ariadne/blob/main/ariadne/utils.py#L70
```python
or (
i < max_index
and graphql_name[i] != c
and graphql_name[i + 1] == lowered_name[i + 1]
and graphql_name[ i + 1 ] != "_" # <--- NEW LINE
)
Thoughts?
UPDATE: I just came across another bad conversion case at work:
S3_BUCKET -> s_3__bucket # would prefer s3_bucket
If there's interest in this, I can work on a patch. Otherwise, I'll just fix it for myself with a custom converter.
The text was updated successfully, but these errors were encountered:
Currently converts as follows:
Thoughts?
UPDATE: I just came across another bad conversion case at work:
If there's interest in this, I can work on a patch. Otherwise, I'll just fix it for myself with a custom converter.
The text was updated successfully, but these errors were encountered: