Size of rollup class #593
pgonzaleznetwork
started this conversation in
General
Replies: 2 comments 1 reply
-
It's a constant tradeoff with packaging, particularly as the primary rollup class is the facade for both apex and flow-based entry points. I don't think any package author enjoys having a large main entry point, but the alternatives aren't always better (in my opinion). |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks. I'm trying to understand what is the tradeoff here. If you broke this down into smaller classes, what capability would you lose? Again, just looking for inspiration :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I was looking at the main rollup class for inspiration on good design patterns, etc. I noticed the class is 3K+ lines long. There are likely multiple responsibilities and reasons to change here.
Is there a specific reason or limitation that forced the logic to be in one place instead of brown down into smaller classes? Thanks 🙏
Beta Was this translation helpful? Give feedback.
All reactions