Skip to content

Conversation

@szabolcs-szilagyi-hmrc
Copy link
Contributor

@szabolcs-szilagyi-hmrc szabolcs-szilagyi-hmrc commented Aug 4, 2025

restructuring the library's modules

moving the shared lib into the domain-play-30 as we now only support the play3. Adding the domain-test-play-30 to contain the generators so other projects can import it.

moving the shared lib into the domain-play-30 as we now only support the play3. Adding the domain-test-play-30 to contain the generators so other projects can import it.
@szabolcs-szilagyi-hmrc szabolcs-szilagyi-hmrc changed the title GG-8781 restructuring the library's modules GG-8781 domain : add missing generators to test jar Aug 4, 2025
@platops-pr-bot
Copy link

  • File .travis.yml can be removed, it is no longer supported.

@platops-pr-bot
Copy link

  • File .travis.yml can be removed, it is no longer supported.

* @example
* NinoGenerator(seed).nextNino.nino
*/
case class NinoGenerator(private val random: Random = new Random) extends Modulus23Check {

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it is generating valid ninos that conforms the rules on the wikipedia page. Here is most of the code that does that: https://github.com/hmrc/domain/blob/GG-8781/domain-play-30/src/main/scala/uk/gov/hmrc/domain/Nino.scala#L49

@AadilAkhtar AadilAkhtar merged commit bc4a37f into main Aug 11, 2025
1 check passed
@AadilAkhtar AadilAkhtar deleted the GG-8781 branch August 11, 2025 16:07
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.

5 participants