-
Why does it use this format (setting the attributes inside of the LogEntry__c() constructor in the insertLogEntries() method, but in the upsertLogs() it creates a new instance of Log__c and then sets each attribute. Seems inconsistent. If there is a reason for this, there should be a comment explaining it. |
Beta Was this translation helpful? Give feedback.
Answered by
jongpie
Oct 4, 2022
Replies: 1 comment 1 reply
-
@rmccu the commit you're referencing, 3b04138, is 4-5 months old (v4.7.1). In the latest version, v4.8.3, the constructors are now used for both |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jongpie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@rmccu the commit you're referencing, 3b04138, is 4-5 months old (v4.7.1). In the latest version, v4.8.3, the constructors are now used for both
Log__c
andLogEntry__c
to set most fields.