I understand that generally shared libraries are a microservice antipattern, and the disadvantages of shared libraries in a microservice world are well documented.
However, I have not been able to find much information on extracting something like core library code into a shared service. What are the advantages and disadvantages of maintaining a common service as opposed to a shared library?