Transaction publication with merge publication
For anyone who will encounter a similar issue here's what worked for me:


Run the following on your merge publication database :


    EXEC sp_changemergearticle 

    @publication = 'MyPublication', 

    @article = 'MyArticle', 

    @property = 'published_in_tran_pub', 

    @value = 'true';


For more info about the problem read this article :https://docs.microsoft.com/en-us/sql/relational-databases/replication/publish/publish-data-and-database-objects?view=sql-server-2017