You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a parent struct that has an embedded child struct, the fields of the child struct will not get their SOQL fields marshaled.
type Parent struct {
Child
}
type Child struct {
Field string `soql:"selectColumn,fieldName=My_Field__c"`
}
Marshalling a query including the parent will omit Field despite it being a directly accessible member of Parent. I believe this is incongruous with how JSON serialization works in Golang.
I'd be happy to pick this up as an external contribution with a few pointers!
The text was updated successfully, but these errors were encountered:
If you have a parent struct that has an embedded child struct, the fields of the child struct will not get their SOQL fields marshaled.
Marshalling a query including the parent will omit
Field
despite it being a directly accessible member ofParent
. I believe this is incongruous with how JSON serialization works in Golang.I'd be happy to pick this up as an external contribution with a few pointers!
The text was updated successfully, but these errors were encountered: