You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although 'Component' can be implemented traditionally, it is irritating if this has to be done for some types of storage and not for others. This also means additional work, which the derive macro is designed to avoid from the outset.
Drawbacks
None
Is it a breaking change?
No - it is not
Can it impact performance, learnability, etc?
No - I would actually argue, it implements expected behaviour.
Unresolved questions
None
I asked about this on gitter, and will create a pull request, which 'fixes' this request.
-ClaasJG
The text was updated successfully, but these errors were encountered:
Hi and thanks for specs.
Description
Currently it is not possible to specify a storage type with specs-derive that expects special generics. This is because specs-derive assumes
<Self>
specs/specs-derive/src/lib.rs
Line 73 in 708c3ac
Motivation
It is currently not possible to specify e.g.
FlaggedStorage
with the 'storage' macro.Although 'Component' can be implemented traditionally, it is irritating if this has to be done for some types of storage and not for others. This also means additional work, which the derive macro is designed to avoid from the outset.
Drawbacks
None
No - it is not
No - I would actually argue, it implements expected behaviour.
Unresolved questions
None
I asked about this on gitter, and will create a pull request, which 'fixes' this request.
-ClaasJG
The text was updated successfully, but these errors were encountered: