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
The name doesn't really make sense anymore as you can pass any entity(value, etc.)
You always get this tuple forcing extra wrapping for something that ends up being quite common. Would be nice to have an api that just return true/false without the diagnositcs.
Passing the diagnostic target feels like an advanced scenario specially if you don't care about the diagnostic.
Other question:
exposing this on the checker is the right place?
handle projection if type is in a projection
Proposal
Rename this to isEntityRelatedTo
Expose isValueOfType
Make the default one without diagnostic and provide a isEntityRelatedToWithDiags
PR #4357 improve the type relation but leaving this as a separate issue. Need to design the type relation api.
Issues
Currently you have this on the checker
so one can call
There is a few problems with this:
Other question:
Proposal
isEntityRelatedTo
isValueOfType
isEntityRelatedToWithDiags
The text was updated successfully, but these errors were encountered: