Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Ashviniv
Copy link

after transition should be called before after_all_transitions, like after event is called before after_all_events.But currently, after transition is called after after_all_transitions.

@Ashviniv Ashviniv changed the title After and after_all_transitions_callback execution order After and after_all_transitions callback execution order Jun 28, 2016
@Ashviniv Ashviniv mentioned this pull request Jun 28, 2016
@joallard
Copy link

On the failing tests: Looks like the return value from the :after callback should be tapped into to be returned on transition.

I arrived here after a search because I agree with the spirit, but this is probably a breaking-change.

@anilmaurya
Copy link
Member

@Ashviniv I think you have a valid point, could you rebase your commit with master branch and resolve conflicts.

As this is breaking-change we can release this change in AASM 5.0

@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 45b7e94 and detected 0 issues on this pull request.

View more on Code Climate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants