Csla 6 fluent configuration - should the AddServerSideDataPortal() method be renamed? #2694
Unanswered
TheCakeMonster
asked this question in
Ideas
Replies: 1 comment 1 reply
-
If we're going to break things, now is the time. To be fair, the CSLA 6 fluent API already is a serious breaking change, so this seems like a relatively minor thing to add to the list of existing changes. Also, I'd argue that these changes affect only the startup code - they aren't replicated throughout anyone's codebase (except perhaps for unit testing). |
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
-
In order to fix some bugs in the fluent configuration system for Csla 6 I have submitted a change in PR #2686 to what the AddServerSideDataPortal method does. If this change is accepted the method will no longer add anything itself; instead, it's a method through which configuration can be defined. A separate, internal method does the actual application of the configuration - the additions.
I can see arguments for a few different names:
Options 2 and 3 would be a breaking change for lots of people, as I think this method has existed since at least 2018 and will have been live in multiple versions. As such, I'm not sure it is worth the pain of changing it, but I thought I would raise it for discussion since I'm here talking about config.
Beta Was this translation helpful? Give feedback.
All reactions