Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Remember questions as well as concrete values #6

Open
mattwynne opened this issue Sep 5, 2018 · 2 comments
Open

Remember questions as well as concrete values #6

mattwynne opened this issue Sep 5, 2018 · 2 comments

Comments

@mattwynne
Copy link
Contributor

It should be possible to pass a question to the Remember.that action so as to avoid this sort of code:

Remember.that('my name').is(await actor.asks(WhatIsMyName))

and instead just be able to write:

Remember.that('my name').is(WhatIsMyName)
@jbpros
Copy link
Contributor

jbpros commented Sep 5, 2018

It'd be nice to discuss the concept of a question properly then. Because at the moment, we're bending tasks into question but I think there is more to it.

@mattwynne
Copy link
Contributor Author

Can you say more about what you mean? I was thinking a question was just another thing you can attempt, only it returns a value. What am I missing?

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

No branches or pull requests

2 participants