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

If modules have types that have the same name, the interfaces generator creates invalid references to the default module. #882

Closed
scotttrinh opened this issue Mar 1, 2024 · 0 comments · Fixed by #888
Labels

Comments

@scotttrinh
Copy link
Collaborator

Given the SDL:

module default {
  type Foo {}
}

module Bar {
  type Foo extends default::Foo {}
}

The interfaces generator will try to reference the default::Foo type without any sort of qualifier, so it ends up with something like:

namespace Bar {
  export interface Foo extends Foo {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant