-
Notifications
You must be signed in to change notification settings - Fork 69
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
Store data with lifetimes in world #320
Comments
tyranron
added
question
Further information is requested
k::api
Related to API (application interface)
k::design
Related to overall design and/or architecture
labels
Jan 31, 2024
@sdupille while we technically can make Let's leave concrete types for a moment, and look at the bigger picture here:
So, there can be several ways to deal with your problem:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there ! I wrote a lib I want to test with cucumber. My lib use some struct that has some lifetimes, like this :
And I need to store these kinds of values in cucumber world. So, obvious solution was to create a world object with lifetime, like this :
But it doesn't work, and the message is weird :
I also have a bunch of errors like this :
How can I create a world with lifetime ? Is there a way ? If not, any workaround ?
The text was updated successfully, but these errors were encountered: