foundry-vtt-types icon indicating copy to clipboard operation
foundry-vtt-types copied to clipboard

Embedded Collections appear to be uncertain about their contents

Open JPMeehan opened this issue 1 year ago • 3 comments
trafficstars

Operations such as get, filter, and iterator-based access (e.g. for a of collection loops) appear to be uncertain about what exactly they're returning/accessing.

JPMeehan avatar Oct 30 '24 17:10 JPMeehan

Can you give a small reproduction of the issue at hand? Like an example of a contradictory value?

LukeAbby avatar Oct 30 '24 17:10 LukeAbby

Combat#combatants is the one I'm currently looking at in SWADE; it's giving Document.Any

JPMeehan avatar Oct 30 '24 17:10 JPMeehan

If you have a commit I'll add it to the list of repos to make sure are fixed. The last time I saw something like this it occured because of a tiny config change. Fixing the root cause has been on my TODO list.

LukeAbby avatar Oct 30 '24 18:10 LukeAbby