Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have transparent support for caching non cascading objects #8

Open
abhinavguptas opened this issue Sep 3, 2011 · 2 comments
Open

Comments

@abhinavguptas
Copy link
Contributor

When objects are created with SmartFactory.createSObject('Account', false), we can cache this one because

  • most of the times, one would use non cascading sobject
  • it will save a lot of script lines, if we can store the sobject and return a clone of it as required.
@bruceyue
Copy link

perfect code, thanks for sharing!

@abhinavguptas
Copy link
Contributor Author

Thanks bruceyue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants