Skip to content

feat(data-models): init data models for e2e user flow handling#8

Open
PhilippTheServer wants to merge 17 commits intoOpenTaberna:mainfrom
PhilippTheServer:pl/dataModels
Open

feat(data-models): init data models for e2e user flow handling#8
PhilippTheServer wants to merge 17 commits intoOpenTaberna:mainfrom
PhilippTheServer:pl/dataModels

Conversation

@PhilippTheServer
Copy link
Contributor

@PhilippTheServer PhilippTheServer commented Mar 4, 2026

Feature

Description

init all database models as pydantic and orm model.

Motivation

To enable asynchronos work database models need to be defined first. Now the user flow can be implemented.

API Changes

  • New endpoints added
  • Existing endpoints modified
  • Breaking changes

Database Changes

  • New tables/columns added
  • Migrations required
  • No database changes

Documentation

  • API documentation updated (docs/)
  • README updated if necessary
  • Code comments added

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • All tests passing

Checklist

  • Code follows project style guidelines
  • Environment variables documented in env.example if needed

is_default: bool = Field(
default=False, description="Whether this is the default shipping address"
)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a field for additional address information like apartment, suite, unit, building, etc?
Also a field for state / region / province? Is often required in international addresses. And even if not it can be helpful

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No idea. If we need it we can add it easily later on

Copy link
Contributor

@maltonoloco maltonoloco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution. Regarding the customer feature, I have a few suggestions you might want to consider.

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