Whether Christians first needed to become Jewish in the New Covenant was in dispute. The divinity of Christ was in dispute. Whether Christ had a human will or a divine will, or both was in dispute. Post baptismal forgiveness of sins was in dispute. In all these cases and more it was the magisterial office of the Church that settled the disputes. The canon of scripture is no different.