Fatal1ty / mashumaro

Fast and well tested serialization library
Apache License 2.0
758 stars 45 forks source link

Add support for LiteralString #166

Closed Fatal1ty closed 1 year ago

Fatal1ty commented 1 year ago

Is your feature request related to a problem? Please describe. There is a type LiteralString that is easy to support. Currently we are throwing UnserializableDataError exception:

mashumaro.exceptions.UnserializableDataError: typing_extensions.LiteralString as a field type is not supported by mashumaro

Describe the solution you'd like LiteralString is a special typing primitive but in general it's str.