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

fix: Go generics cannot find common package object type definition #1281

Merged
merged 3 commits into from Aug 9, 2022

Commits on Aug 4, 2022

  1. fix: Go generics cannot find common package object type definition

    - use ast.SelectorExpr instead if ast.Ident to embed types
    - tests reworked
    
    fixes swaggo#1237
    FabianMartin committed Aug 4, 2022
    Copy the full SHA
    789438e View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2022

  1. fix: Overrides not working with Generics

    - Generate full type name, if only one generic field exists
    - Generate refs to generic properties
    - Tests extended to test override behavior
    
    refs swaggo#1237
    fixes swaggo#1253
    FabianMartin committed Aug 6, 2022
    Copy the full SHA
    c33a9cd View commit details
    Browse the repository at this point in the history
  2. test: Extend tests to check error behavior

    - new tests added
    FabianMartin committed Aug 6, 2022
    Copy the full SHA
    4c26143 View commit details
    Browse the repository at this point in the history