Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BugFix when ID is a UUID #312

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

BugFix when ID is a UUID #312

wants to merge 2 commits into from

Conversation

rhenter
Copy link

@rhenter rhenter commented Aug 31, 2020

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
Copy link
Author

rhenter commented Aug 31, 2020

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

@manelclos
Copy link
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