-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A synthetic reference is when you know the 'id' of the thing you want to reference and you want Snowfakery to treat it as a reference. It is analogous to casting a pointer in C. Or joining using an integer as a foreign key in a DB. Currently this is not documented, because the internal id mechanism isn't documented and may change. But it is useful for some upcoming Salesforce-internal features and projects. Once it's been tested there we can figure out how to make it more widely available. Probably in the long run, we will allow users to control their own 'id' mechanism on a per sObject basis. Then synthetic references-by-id will make sense to them.
- Loading branch information
Paul Prescod
authored
Feb 23, 2022
1 parent
27440db
commit 21f9912
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters