wyfo / apischema

JSON (de)serialization, GraphQL and JSON schema generation using Python typing.

Home Page:https://wyfo.github.io/apischema/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deserialization_schema outputs invalid `'type'` value

Ayehavgunne opened this issue · comments

I narrowed down the version that this bug was introduced to 0.16.0

Starting at that version the output was no longer a valid JSON string but contained Python object references like this

'type': <JsonType.STRING: 'string'>

when it should be

'type': 'string'

Using Python 3.9

Fixed in PR #367

@wyfo
Hello, just checking in on this issue.