Skip to content

[BUG] SQLAlchemy Exception when using Enums and jsonable_encoder #21

Closed

Description

@ebreton

Issue added for reference.

Activity

  1. tiangolo commented on May 10, 2019

    @tiangolo
    Member

    Thanks, I'll check it.

  2. AnneNamuli commented on Sep 9, 2019

    @AnneNamuli

    I am having almost the same issue.. I keep getting validation errors when i use enum type

  3. ebreton commented on Sep 9, 2019

    @ebreton
    ContributorAuthor

    I am working on it, and got it running with CrudBase. I will update #23 accordingly asap.

    I still have one limit though, which is using the same string for name and value.

    • value because it is used by pydantic
    • name because it is used by SQLalchemy

    I keep you posted...

  4. AnneNamuli commented on Sep 9, 2019

    @AnneNamuli

    Thanks!!

  5. tiangolo commented on Apr 12, 2020

    @tiangolo
    Member

    I think this was solved in your PR right @ebreton ? 🤓 🚀

    May we close it?

  6. ebreton commented on Apr 12, 2020

    @ebreton
    ContributorAuthor

    You are right @tiangolo, thanks for the clean-keeping work. And for the whole fastapi ecosystem. It rocks 🌟 💎

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions