Skip to content

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Jul 13, 2023

Funcs in the modelquerier custom methods were not included. Put them after the sqlc methods.

@Emyrk Emyrk requested a review from kylecarbs July 13, 2023 13:21
Comment on lines 19 to 22
// Force these imports, for some reason the autogen does not include them.
var _ uuid.UUID
var _ rbac.Action

Copy link
Member Author

Choose a reason for hiding this comment

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

For some reason adding the custom funcs to the list removes these imports. I was in the debugger trying to understand why all morning. This fixes it, and probably not worth spending more time investigating when this is a simple work around.

@Emyrk Emyrk requested a review from mafredri July 13, 2023 13:39
@Emyrk Emyrk merged commit 3b43318 into main Jul 13, 2023
@Emyrk Emyrk deleted the stevenmasley/db_gen_custom branch July 13, 2023 17:12
@github-actions github-actions bot locked and limited conversation to collaborators Jul 13, 2023
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