Skip to content

Allow selecting struct columns without breaking up the struct#41

Open
Learath2 wants to merge 1 commit into
forcedotcom:masterfrom
quiqupltd:pr_selectopaque
Open

Allow selecting struct columns without breaking up the struct#41
Learath2 wants to merge 1 commit into
forcedotcom:masterfrom
quiqupltd:pr_selectopaque

Conversation

@Learath2

@Learath2 Learath2 commented May 7, 2024

Copy link
Copy Markdown

This feature allows selecting structs without breaking them up. It's useful for types like time.Time, where having it as a selectColumn generates nothing in the marshalled select clause.

This feature allows selecting structs without breaking them up
@salesforce-cla

salesforce-cla Bot commented May 7, 2024

Copy link
Copy Markdown

Thanks for the contribution! Before we can merge this, we need @Learath2 to sign the Salesforce Inc. Contributor License Agreement.

@atulkc atulkc left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please sign the CLA as required to contribute to this repo.

Comment thread marshaller_test.go
})
})

Context("when nested struct with soql fields is selected opaquely", func() {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can you add a test that verifies the entire SOQL generation? Basically add a Context to Describe("Marshal")

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I will look into it 👍

@Learath2

Learath2 commented May 7, 2024

Copy link
Copy Markdown
Author

I did sign the CLA and if I click the link again it says you have already signed the CLA. It seems broken somehow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants