I recently finished around year and half at my first position as a software developer out of college. When I started, I was assigned a co-worker who would act a mentor as I learned to code in the project that I am working on. And this person is the "Development Lead" for this project.
It now a year and half later and I am fairly comfortable taking up reasonably large tasks on my own and delivering on them (with occasional help from this co-worker) but I have noticed that during meetings with business users, upper management and other stakeholders, this person takes credit for my work and neglects to mention me at all. What’s more, he fails to include me in critical meetings with users that impact my work.
So when I have questions, he prefers that I ask him directly and he asks the users on his own. At first I didn’t care too much about this (as some of this actions are somewhat inline with behavior of a dev lead) but I am beginning to think this will affect my career negatively especially since I am in a corporate environment where advancements are heavily based on connections rather than skill. External people almost always considers him to be the contact person even when I know more about a particular question. I feel like he is using me for his own advancement without giving me any credit. I don’t want to confront him directly and risk retaliation - I still need occasional help from this person.
As this is my first job out of school, I am not sure how to handle this situation “correctly”. How can I navigate this situation carefully so as to minimize collateral damage and just get credit for the work that I do?