Skip to content

Conversation

@jakedoublev
Copy link
Contributor

@jakedoublev jakedoublev commented Jan 30, 2024

Addresses: #74

@jakedoublev jakedoublev changed the base branch from main to policy-config-changes January 30, 2024 21:45
@jakedoublev jakedoublev marked this pull request as ready for review February 1, 2024 22:45
metadata []byte) (string, []interface{}, error) {
sb := newStatementBuilder().
Update(AttributeValueTable)
Update(AttributeValueTable).
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure why, but without this change our metadata was not being successfully updated.

Copy link
Member

Choose a reason for hiding this comment

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

Oh, that makes sense, I left off the sb = sb.Set("metadata", metadata) on line 173 so when we generate the SQL it lacked the metadata update because Go passes by value.

@jakedoublev jakedoublev merged commit 6a7462c into policy-config-changes Feb 1, 2024
@jakedoublev jakedoublev deleted the issue-74/attr-values-tests branch February 1, 2024 23:23
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

Successfully merging this pull request may close these issues.

3 participants