spand11/06/2018, 10:35 AM
. Is there any particular usecase that isnt better handled by
you get the correct type, while with
you need to
it or similar. Asking as I would prefer to see it removed since I see some bad usages of it in our codebase.
tapac11/06/2018, 12:15 PM
in your code. At first, if you use
then you'll receive id value of proper type. So I agree that
looks like a legacy and could be hidden from a public scope. But (as you mentioned) many people already use that field and it may be too painful to just to remove the field but we can start with depreciation.
spand11/06/2018, 12:21 PM