-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
It would be great if Groovy Console could provide a dry-run method. So some second button to run the script without saving any changes.
This could be done by using a wrapper around the used ResourceResolver and its session object. This could then ignore calls to resolver.commit() and session.save().
On the other hand, for non-dry-runs the session.save() could be called directly by Groovy Console. This way there is no more need for session.save() at the end of all scripts.
Bindings also need to know about the dry-run. So the information needs to be provided to them, too.
pun-ky
Metadata
Metadata
Assignees
Labels
No labels