Closed JunichiSugiura closed 1 year ago
What's the status on this PR?
Ah, thanks for pinging me!
Thanks for the merge !
@matthiasbeyer Hi, what's the plan for publishing a new version including this PR? This has been a blocker to bump my lib.
Hm. Can this be considered a backwards compatible fix? I am not sure. If it is, I could release a patchlevel version update.
@matthiasbeyer This PR just adds Clone trait so the old code still works without any changes, I think.
Submitted backport in #398
Will release 0.13.3 with this patch shortly.
@matthiasbeyer Thank you so much 🙏
This PR is to add
Clone
impl to bothDefaultState
andAsyncState
. This allowsConfigBuilder
to be fully clonable. My goal is to make bevy plugin that insertsConfigBuilder
as resource so that developers can query them from systems and modify (e.g. configure additional source file etc.).I'm not 100% sure this is a right approach but it satisfied my use case for now. Let me know if there's other way to make it work.
Example
Without clone