Skip to content

Regenerate code with new frontpage schema#153

Closed
oyvindberg wants to merge 1 commit intomainfrom
regenerate-code
Closed

Regenerate code with new frontpage schema#153
oyvindberg wants to merge 1 commit intomainfrom
regenerate-code

Conversation

@oyvindberg
Copy link
Copy Markdown
Collaborator

Summary

Changes

  1. Generated 350+ new files for the frontpage schema entities:

    • User management (user, role, permission, user_permission)
    • E-commerce (product, category, order, order_item, customer)
    • Organization (company, department, employee, location)
    • Infrastructure (address, person)
    • Domain types (Email, UserStatus, UserRole, OrderStatus)
  2. Fixed compilation by adding:

    override def frontpageEmail(random: Random): frontpage.Email = 
      frontpage.Email(s"user\${random.nextInt(1000)}@example.com")

    to all three DomainInsert objects (anorm, doobie, zio-jdbc)

  3. Updated TestDomainInsert trait - The generated trait now includes the new frontpageEmail method

Test Results

All tests pass successfully after the changes:

  • ✅ typo-tester-anorm
  • ✅ typo-tester-doobie
  • ✅ typo-tester-zio-jdbc

Related

This PR includes the generated code from the frontpage schema that was added in #151 for website documentation examples.

🤖 Generated with Claude Code

- Added frontpage schema with comprehensive domain models
- Generated 350+ new files for frontpage entities (user, order, product, etc.)
- Fixed compilation by implementing frontpageEmail in DomainInsert objects
- All tests pass successfully

This includes the new schema added in PR #151 for the website documentation examples.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
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.

1 participant