Schema.filterEffect is not validating.
I have the following code - https://effect.website/play/#ab731f8f089e
In it I'm using Schema.filterEffect to check if a screen entity has at least one component. If it doesn't it should fail.
When running the encodeUnknown on a screen that has 0 compoenents it suceedes although it needs to fail.
Any idea what am I doing wrong?
In it I'm using Schema.filterEffect to check if a screen entity has at least one component. If it doesn't it should fail.
When running the encodeUnknown on a screen that has 0 compoenents it suceedes although it needs to fail.
Any idea what am I doing wrong?
Effect Documentation
