python-betterproto icon indicating copy to clipboard operation
python-betterproto copied to clipboard

Add casing to from_dict method

Open nedopolz opened this issue 10 months ago • 0 comments

Summary

from_dict method did not support casing

What is the feature request for?

The core library

The Problem

When using to_dict method I can pass case, but for from_dict method only safe_snake_case is available, It looks like some inconsistent behavior

The Ideal Solution

As i understand safe snake case is not necessarily needs to be safe, so replacing it with any casting method would be safe

The Current Solution

Just use snakecase in dict

nedopolz avatar Feb 18 '25 16:02 nedopolz