javrasya / django-river

Django workflow library that supports on the fly changes ⛵
BSD 3-Clause "New" or "Revised" License
742 stars 105 forks source link

get_available_approvals() does not have destination and source state references #157

Open rupin opened 4 years ago

rupin commented 4 years ago

Hello!

the documentation of get_available_approvals suggests the object returned after the execution has destination and source state references, but they are through the transition object.

rupin commented 4 years ago

I made the change on my side. Please see this diff https://github.com/rupin/WorkflowEngine/commit/11aa951cbcd1e110dfe008e6c524c03311ea4172#diff-2a5d907555493e832fb037724823fdd0