Netflix / dgs-codegen

Apache License 2.0
181 stars 99 forks source link

generateInterfaces creates duplicate methods when implementing interface #182

Closed paulbakker closed 1 year ago

paulbakker commented 3 years ago
interface Fruit {
  seeds: [Seed]
}

type Apple implements Fruit {
  seeds: [Seed]
}

type Seed {
  shape: String
}
public interface Fruit {
  List<ISeed> getSeeds();
}

public interface IApple extends Fruit {
  List<? extends ISeed> getSeeds();
}

See the IApple interface redefining getSeeds().

npwork commented 2 years ago

Fixed in PR: https://github.com/Netflix/dgs-codegen/pull/291/files