Allow to manually exclude fields in dataclass_array_container#96
Allow to manually exclude fields in dataclass_array_container#96alexfikl wants to merge 1 commit intoinducer:mainfrom
Conversation
026fac2 to
c339786
Compare
|
For the use case, could you simply stuff the extra fields into another dataclass that's not an array container? (And send them "along for the ride" that way?) |
Yeah, I ended up doing a combination of that and some memoizing, since otherwise they would get out of sync. |
|
In that case, I'd say let's hold off here. I won't close it, but I'll add a "shelved" tag. |
c339786 to
e13472b
Compare
17bf2a1 to
4f6d97c
Compare
|
@inducer Tried to use that |
5266cd1 to
0083db2
Compare
0083db2 to
6f1ba91
Compare
6f1ba91 to
1e6b89a
Compare
This isn't as nice as it could be due to backwards compatibility, but it seems to work.
EDIT: Actually, this doesn't work for what I wanted to use it for. I'll leave it here in case you think it's still useful, but otherwise feel free to close!