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

HandleUntyped as a system param? #2562

Closed
Dapeos opened this issue Jul 28, 2021 · 2 comments
Closed

HandleUntyped as a system param? #2562

Dapeos opened this issue Jul 28, 2021 · 2 comments

Comments

@Dapeos
Copy link

Dapeos commented Jul 28, 2021

Hi, (might be dumb)
I am trying to use HandleUntyped as a parameter to a system as a Local. But because HandleUntyped doesn't implement Default, I am unable to. Honestly I am not sure how a default impl of HandleUntyped should work.

Currently I have similar separate systems for each unique Handle Type but I am wondering if I am missing something simple.
Thanks,

@Dapeos
Copy link
Author

Dapeos commented Jul 28, 2021

I organized things differently.

@Dapeos Dapeos closed this as completed Jul 28, 2021
@alice-i-cecile
Copy link
Member

For future reference, #2491 should provide an excellent solution to this going forward by allowing you to include non-defaultable Local resources.

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

No branches or pull requests

2 participants