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

Support wildcard imports? #38

Open
martinbonnin opened this issue Dec 7, 2023 · 0 comments
Open

Support wildcard imports? #38

martinbonnin opened this issue Dec 7, 2023 · 0 comments

Comments

@martinbonnin
Copy link
Contributor

Would be nice to allow wildcard imports, like in Java and Kotlin:

extend schema @link(
  url: "https://specs.apollo.dev/nullability/v0.1", 
  import: "*"
)

Thanks to list input coercion, the "*" would be coerced to ["*"]

Another option would be to treat "" as a special case for the as parameter and not add the __ in that case:

extend schema @link(
  url: "https://specs.apollo.dev/nullability/v0.1", 
  as: ""
)
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

No branches or pull requests

1 participant