Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка в назначении moduleOutput #36

Open
AlexanderEBaranov opened this issue Nov 17, 2019 · 1 comment
Open

Ошибка в назначении moduleOutput #36

AlexanderEBaranov opened this issue Nov 17, 2019 · 1 comment

Comments

@AlexanderEBaranov
Copy link

Добрый день. Такая ошибка: сейчас в блоке .then, если вернуть указатель на moduleOutput, то он присваивается источнику вызова segue.source.moduleOutput = output (класс SegueTransitionNode), что в корне не правильно, - тут нужно чтобы было так self.destination?.moduleOutput = moduleOutput, как в классе GenericTransitionNode в методе, который перегружается в SegueTransitionNode. Из-за этого в блоке then по return нельзя использовать moduleOutput, приходится его передавать через метод конфигурации модуля (через moduleInput).

Поправить это не сложно: нужно всего лишь вместо segue.source.moduleOutput = output, написать segue.destination.moduleOutput = output в методе then класса SegueTransitionNode.

Поправьте, пожалуйста.

@Ikloo
Copy link
Contributor

Ikloo commented Nov 18, 2019

@AlexanderEBaranov чтобы не ждать ты можешь сам создать PR и внести изменения :)

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

No branches or pull requests

3 participants