Skip to content

BugFix when ID is a UUID - #312

Open
rhenter wants to merge 2 commits into
jazzband:masterfrom
rhenter:master
Open

BugFix when ID is a UUID#312
rhenter wants to merge 2 commits into
jazzband:masterfrom
rhenter:master

Conversation

@rhenter

@rhenter rhenter commented Aug 31, 2020

Copy link
Copy Markdown

I had a JSON Encode Serialize error when I use a Model with ID as UUID.

    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type UUID is not JSON serializable

@rhenter

rhenter commented Aug 31, 2020

Copy link
Copy Markdown
Author

I'll create a test to don't decrease the coverage

@manelclos

Copy link
Copy Markdown
Member

Hi @rhenter, this LGTM, can you please add an example to the test_app using the UUID, it would help a lot to test your changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants