is it bad to be friends with your boyfriends ex?

Natalia
So ever since my boyfriend and I started dating his and ex and I have been talking and we're really close. We tell each other everything but my boyfriend doesn't like it. is it bad to be friends with your boyfriends ex?