Skip to content
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

テストで UUIDv4 と UUIDv7 両方を生成する #2470

Open
TwoSquirrels opened this issue Jun 28, 2024 · 0 comments
Open

テストで UUIDv4 と UUIDv7 両方を生成する #2470

TwoSquirrels opened this issue Jun 28, 2024 · 0 comments

Comments

@TwoSquirrels
Copy link
Member

TwoSquirrels commented Jun 28, 2024

#2424, #2466 で UUIDv4 の生成をテストの部分を含め UUIDv7 に置き換えましたが、データベースには UUIDv4 で生成されたものが残っているので
テストでは v4 と v7 の両方の UUID を生成してテストした方がいいのではといった感じです。

参照: #2466 (comment)

comment: テストのところも uuid v7 に書き換えたいが、v7 の知識をもとにプログラムが書かれても困るので(現状の運用的に)v4 / v7 がどっちも振ってくるテストを書くと良い…?

@riku6174 riku6174 self-assigned this Jul 3, 2024
@riku6174 riku6174 removed their assignment Sep 4, 2024
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

When branches are created from issues, their pull requests are automatically linked.

2 participants