Update inject.go

Iteratively dereference pointers and allow for method chaining in Typemapper interface