Skip to content

Should we integrate SQLModel into the package?  #269

Description

@havok2063

Should we integrate SQLModel into sdssdb for the SQLAlchemy models? I don't think this is strictly necessary for 1.0, but maybe this is something to consider for later. If we don't want a complete integration here, perhaps a smaller wrapper library could be considered.

Pros

  • Automatically creates pydantic models for validation / serialization for all our ORMs.
  • No need to duplicate code in downstream packages
  • Makes it easier to drop into future python API services / frameworks

Cons

  • Increases the dependency stack
  • No integration with peewee models

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions