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

Suport Java Generics #289

Open
velias opened this issue Sep 1, 2020 · 2 comments
Open

Suport Java Generics #289

velias opened this issue Sep 1, 2020 · 2 comments
Labels
Meeting discussion To mark issues we want to discuss in the weekly meeting

Comments

@velias
Copy link

velias commented Sep 1, 2020

Based on work in smallrye/smallrye-graphql#281 we should add support for java Generics into this spec.

There is a ticket discussing Generics directly in GraphQL spec graphql/graphql-spec#190. They are not there (and some of the spec authors says that intentionally), and it is question if they will ever be. We can still add it into Microprofile spec by allowing only generics with exactly defined types (no any wildchars) in the in/out object trees, and generating GraphQL schema in a way it contains extra class for each exact variant of the generic with concrete resolved types.

@phillip-kruger phillip-kruger added the Meeting discussion To mark issues we want to discuss in the weekly meeting label Sep 1, 2020
@beikov
Copy link

beikov commented Dec 14, 2020

What is the status of this? I really need this!

@andymc12
Copy link
Contributor

@beikov The plan is to "prove it out" in an implementation first (@velias is working it in the SmallRye implementation) and then eventually add it to the spec. This feature has not yet been targeted to a specific future release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Meeting discussion To mark issues we want to discuss in the weekly meeting
Projects
None yet
Development

No branches or pull requests

4 participants