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

#281 - support for generics #385

Merged
merged 1 commit into from
Sep 1, 2020
Merged

Conversation

velias
Copy link
Collaborator

@velias velias commented Aug 31, 2020

Support for generics as proposed in issue #281.
Added mainly to schema generation process. Unit tests for schema generation added also.

Runtime tested using example application as I do not see any automated tests for this.
Everything looks OK, I only see this log message when generics is used as input parameter in mutation WARNING [org.eclipse.yasson.internal.ReflectionUtils] (default task-1) Generic bound not found for type T declared in class com.github.phillipkruger.user.graphql.ClassWithOneGenericsParam., but it looks to work well.

@phillip-kruger phillip-kruger linked an issue Sep 1, 2020 that may be closed by this pull request
@phillip-kruger
Copy link
Member

@velias - This is awesome !!!
Thanks very much !!

Copy link
Member

@phillip-kruger phillip-kruger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks !

@phillip-kruger phillip-kruger merged commit 7020d92 into smallrye:master Sep 1, 2020
@phillip-kruger phillip-kruger added this to the 1.0.9 milestone Sep 1, 2020
@velias velias deleted the 281-generics branch September 1, 2020 07:14
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

Successfully merging this pull request may close these issues.

Are Generics not supported?
2 participants