Are there any stories to add an “onServerDelete” or “onServerForget” interception point to the server lifecycle?
I’m running 3.5.0 release candidate but I didn’t see this in the release notes for the final release.
Curious.
Thanks,
Joel C.
Are there any stories to add an “onServerDelete” or “onServerForget” interception point to the server lifecycle?
I’m running 3.5.0 release candidate but I didn’t see this in the release notes for the final release.
Curious.
Thanks,
Joel C.
If you would like to see those lifecycle methods, then please add a ticket. We’ve never added them because no one has ever asked for them
Thanks!
~Brad
ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com
Brad, I added COMMANDBOX-556. I did not assign a fix version however. Not sure if that will affect visibility.
Thanks!
Joel
Thanks Joel, I saw it come through and was working on it right now. I’m just trying to figure out how to refactor the code for when a user does this:
server forget --all
Right now, we just blanket delete all the server configs in that case, but I think I really need to forget each server in a loop so I can fire the interceptor properly for each server.
I’m also curious what your use case is for this. Not that I can’t imagine one-- I just want to hear how you’ll use it
Thanks!
~Brad
ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com
I don’t know if you saw, but I added a couple of comments to the ticket asking for some feedback on how to implement this.
Thanks!
~Brad
ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com
This is complete and available on the bleeding edge
upgrade --latest
Thanks!
~Brad
ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com