-
Notifications
You must be signed in to change notification settings - Fork 1
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
Postにメディア情報を紐づける #110
Postにメディア情報を紐づける #110
Conversation
9666eb6 時点で手元の tox は通っているが CI が落ちている |
mediaに統一でお願いします! |
承知です!ありがとうございます |
memo |
memo
|
そもそもlinkは => 修正PR作成済み #114 |
|
9d5555d
to
98a8dc2
Compare
closes #71
やりたいこと
API側の
GET /posts
において、media
クエリを用いて必要なら画像や動画などのメディア情報を取得できるようにする実装詳細
list[HttpUrl] | None
->list[XMedia]
SQL Alchemy
側でリレーションが組めないPost.id
とMedia.media_key
の N:N relationとして格納しているWarning
API側で、
media=false
のテストを書いた際に、 pydantic のモデル周りの罠を踏んでおりテストが壊れています#113 をMergeすると治ります
todo