Open coderabbitai[bot] opened 1 month ago
As discussed in PR https://github.com/soat-fiap/FIAP.TechChallenge.ByteMeBurger/pull/42 and the specific comment https://github.com/soat-fiap/FIAP.TechChallenge.ByteMeBurger/pull/42#discussion_r1589776399, it is necessary to make the Cpf property a required field in all constructors of the Customer class to ensure that each customer has a Cpf assigned upon creation. This change aligns with the domain requirements where Cpf functions similarly to a SIN number and should not have a default value. Requested by @italopessoa.
As discussed in PR https://github.com/soat-fiap/FIAP.TechChallenge.ByteMeBurger/pull/42 and the specific comment https://github.com/soat-fiap/FIAP.TechChallenge.ByteMeBurger/pull/42#discussion_r1589776399, it is necessary to make the Cpf property a required field in all constructors of the Customer class to ensure that each customer has a Cpf assigned upon creation. This change aligns with the domain requirements where Cpf functions similarly to a SIN number and should not have a default value. Requested by @italopessoa.