go-force
go-force copied to clipboard
Go (golang) library for calling Salesforce.com (force.com) web api's
Please take a look at this change to see if it can be merge. Thanks
This patch adds CalculatedFormula to SObjectField. I've tested it on my project, the new field fills correctly.
Hey! So I saw this: https://github.com/nimajalali/go-force/issues/37 and I was like "nice, it should be working". Sadly, it isn't (and I really need to use the refresh token). The PR included...
This PR is just to give you a hint on what I did to get the refresh token auth flow working.
Could you add to SObjectField type (github.com/nimajalali/go-force/force/api.go) this field: > CalculatedFormula string `json:"calculatedFormula"` Thank you.
I'm working on this now and hopefully will be submitting a PR soon, but I wanted an issue here for reference
Currently calling `ForceApi.UpsertSObjectByExternalId` would return an object unmarshal error when salesforce endpoint returns a 204. The code causing this behavior is in `ForceApi.request` which attempts to unmarshal an empty response...
Today if you attempt to interact with an SObject that doesn't exist in SalesForce the force package will panic. ``` panic: runtime error: invalid memory address or nil pointer dereference...
Using the describe API we should be able to auto generate the go source code for sobject models.
SF supports custom objects with multiple fields set to External ID. Current implementation only allows for one.