Closed senj closed 4 years ago
I found the issue in: https://github.com/anthonyreilly/NetCoreForce/blob/52311a4e998ac44cc4ad44f12d9eec309576bef6/src/NetCoreForce.ModelGenerator/Program.cs#L338
new AuthenticationClient
should use config.AuthInfo.ApiVersion
, else it defaults to v44.
Thanks for finding this, the next release will correctly use the API version. I also just noticed that ContactPointAddress is introduced in v49: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contactpointaddress.htm?search_text=ContactPointAddress
I am loading config from config file:
I get this output:
Nevertheless, I do not get the object I need (ContactPointAddress) I think it always defaults to v41 (https://github.com/anthonyreilly/NetCoreForce/blob/master/src/NetCoreForce.ModelGenerator/GenConfig.cs)
If I run
DescribeGlobal
locally with v48 I get the object.