traPtitech / traPtitech/anke-to

しっかりトランザクション取る

Open
#461 2 comments 0 reactions 1 assignee View on GitHub

@xxarupakaxx is already working on this.

Since Oct 14, 2021.

Dominant language
Go
Stars
8
Forks
4
Avg merge
6d 14h
Merged PRs (30d)
3

Description

超重要。
今は一切トランザクションが取られていないという正直ありえない状態なので、さっさと修正しないとまずい。
現在のmodelとrouterの分離は崩したくないので、
https://qiita.com/miya-masa/items/316256924a1f0d7374bb#%E8%A7%A3%E6%B1%BA%E6%A1%88%EF%BC%92-%E3%82%B3%E3%83%B3%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%81%AB%E3%83%88%E3%83%A9%E3%83%B3%E3%82%B6%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%B3%E3%82%AA%E3%83%96%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%82%92%E3%82%BB%E3%83%83%E3%83%88%E3%81%99%E3%82%8B
を参考にトランザクションをcontext.Contextに紐づけて、context.Contextを全体に行き渡らせる形で実装していく。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.