Skip to content

snake_case to camelCase for every responses from server to client #3

@rhoitjadhav

Description

@rhoitjadhav

What happens is whenever we create models in FastAPI we create the variables in snake_case as per the PEP-8 standard, however in the frontend it requires camel-case fields. To solve this issue we should use Pydantic Aliases. Please refer this for more info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions