Skip to content

Implement NIF validation rules for Spain, Portugal, and Dominican Republic#14

Merged
BadChoice merged 3 commits intomasterfrom
feature/rev-21629
Oct 16, 2025
Merged

Implement NIF validation rules for Spain, Portugal, and Dominican Republic#14
BadChoice merged 3 commits intomasterfrom
feature/rev-21629

Conversation

@amartintorrens
Copy link
Copy Markdown
Contributor

Implement NIF validation rules for Spain, Portugal, and Dominican Republic; replace RuleDni with RuleNif, and add corresponding tests. Introduce Country enum for country codes.

…ublic; replace RuleDni with RuleNif, and add corresponding tests. Introduce Country enum for country codes.
@linear
Copy link
Copy Markdown

linear bot commented Oct 15, 2025

@@ -0,0 +1,222 @@
import Foundation

enum Country : String, CaseIterable {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aix ho ho hauriem de tenir en algun lloc comu, perque sino cada paquest ho haura de posar...
Podriem crear el SpritzSwift per posar-hi aquest tipus d'enums com fem amb el back

@BadChoice BadChoice merged commit f7106be into master Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants