Gauss's Law for magnetism is
$$ \nabla \cdot B = 0 $$ This allows us to write the magentic field $B$ as the curl of another field the $\textbf{magnetic vector potential, } A$.
$$ B=\nabla \times A $$
This adhers to $ \nabla \cdot (\nabla \times A)=0$
However, if a monopole does exist then we have
$$ \nabla \cdot B= \rho_{m} $$
Where $\rho_{m}$ is some magnetic charge density however with a magentic vector potential this violates the equation, $ \nabla \cdot (\nabla \times A) \neq 0$.
Does that mean if magnetic monopoles does exist, that the magnetic field can no longer be defined by a magnetic vector potential? In which case how was dirac able to still define the magnetic field by a magnetic vector potentials?