(01-21-2020, 07:39 AM)kilishan Wrote: As for type hints and Entities, in my experience things have a tendency to come out of the database as a string, which is what makes casting and mutations helpful.
That's why I would use the Reflector Class to get the type of a property. Currently you have to use a string based workaround to cast columns to specific types AND tell your IDEin a Docblock what type a property really is.
7.4 could help there and make the usage of Models & Entities a bit more intuitive