He'll assign projects to me. Small stuff, simple stuff. I'll get it done and it may not have been the best way to do it but I figured it out and did it the best way I knew how at the time and it doesn't break anything. So again, not perfect but what code is?
Yet despite that, soon after I finish instead of using my code he'll write his own code instead and that goes into production. It's beginning to feel like nothing I do matters. Some feedback on my code would be nice but I don't even get that. He'll just come over to my desk and tell me about the new feature he has implemented. Doesn't even explain how he did it. And I'm left thinking, "Okay why did I just spend 'x' amount of time doing this if you ultimately was just going to do it yourself"?
I want to talk to him about this but I have no idea as to how to frame it without sounding...jealous(?), defensive(?), or annoyed(?). I'm not even entirely sure how I feel but it's not a good feeling. It's hard to take ownership over something when it just gets "overridden" and there is no feedback for better ways you could have done XYZ.