Skip to content

feat(coderd/database/dbfake): allow specifying fileID in TemplateVersionBuilder #12450

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

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

johnstcn
Copy link
Member

@johnstcn johnstcn commented Mar 7, 2024

No description provided.

@johnstcn johnstcn self-assigned this Mar 7, 2024
@johnstcn johnstcn marked this pull request as ready for review March 7, 2024 12:26
@johnstcn johnstcn requested a review from mafredri March 7, 2024 12:26
Comment on lines +330 to +331
// nolint: revive
t.fileID = takeFirst(t.fileID, uuid.New())
Copy link
Member Author

Choose a reason for hiding this comment

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

heads-up: the linter has started complaining about this, we may want to consider squelching this rule for this particular case.

Copy link
Member

Choose a reason for hiding this comment

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

What rule is the problem?

Copy link
Member Author

Choose a reason for hiding this comment

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

Comment on lines +330 to +331
// nolint: revive
t.fileID = takeFirst(t.fileID, uuid.New())
Copy link
Member

Choose a reason for hiding this comment

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

What rule is the problem?

@johnstcn johnstcn merged commit c8aa99a into main Mar 7, 2024
@johnstcn johnstcn deleted the cj/dbfake-fileid branch March 7, 2024 12:36
@github-actions github-actions bot locked and limited conversation to collaborators Mar 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants