Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(codogen): Added the ability to specify a separate package for models. #3379

Commits on May 13, 2024

  1. Configuration menu
    Copy the full SHA
    9c6ecf2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d8bd54f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fefe51a View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Configuration menu
    Copy the full SHA
    020dbfd View commit details
    Browse the repository at this point in the history
  2. The method of substituting the package into the template has been cha…

    …nged, an error has been detected
    MWT-proger committed May 14, 2024
    Configuration menu
    Copy the full SHA
    87dcf1e View commit details
    Browse the repository at this point in the history
  3. Added the GetPointer method, which allows you to fix errors of this k…

    …ind "[]models.*AuthUser"
    MWT-proger committed May 14, 2024
    Configuration menu
    Copy the full SHA
    10295fe View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    848557c View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Added the ability to add and remove necessary imports at the generati…

    …on level
    
    using the package "golang.org/x/tools/imports "
    
    This solves the problem in the same way as for packet separation. In the case when, for example, a package of models has been added to the interfaces, but it is not used there.
    
    A problem was also identified due to the fact that the package was not added to the interfaces "github.com/jackc/pgx/v5/pgtype "
    
    But the standard tool fixes these problems on its own
    MWT-proger committed May 15, 2024
    Configuration menu
    Copy the full SHA
    bee2cb1 View commit details
    Browse the repository at this point in the history
  2. Fixed the tests

    MWT-proger committed May 15, 2024
    Configuration menu
    Copy the full SHA
    e0ac1d0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bb16495 View commit details
    Browse the repository at this point in the history