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

[Autoconfigure] First impressions #1

Closed
rafaelrenanpacheco opened this issue Apr 25, 2018 · 7 comments
Closed

[Autoconfigure] First impressions #1

rafaelrenanpacheco opened this issue Apr 25, 2018 · 7 comments

Comments

@rafaelrenanpacheco
Copy link

Hi there!

Congratulations on this amazing GraphQL spring boot extension, it was really easy to setup our current spring boot project to use this graphql-spqr-spring-boot-autoconfigure dependency.

To help this project get even better, I would like to suggest a few improvements:

  • Remove the SPQR banner. This is a dependency, so it should not add a banner to the project.
  • Document the spring-boot-starter-websocket dependency. Without this the application crashes after booting up.

Best regards,
Rafael Renan Pacheco.

@BaldyLocks
Copy link
Member

Hi, I'll remove the banner today, as for documenting this I'll probably start working on it during the weekend. And the websocket config will likely have a major rehaul when SPQR 0.9.8 is published.

@BaldyLocks
Copy link
Member

Any useful ideas and suggestions are more than welcome. Thanks for trying it out at such an early stage !

@BaldyLocks
Copy link
Member

Banner moved to test classpath in latest snapshot.

@rafaelrenanpacheco
Copy link
Author

Hi there!

Did you deploy to maven the newest snapshot? I'm still getting the banner after updating the dependencies.

Best regards,
Rafael Pacheco.

@BaldyLocks
Copy link
Member

We're not deploying snapshots now. It will be deployed as part of 0.0.2 , you can build 0.0.2-SNAPSHOT locally though or just replace it with your own banner.

@waeljammal
Copy link

Hi, would be good if dynamic proxies were supported as well, instead of having to register every type with the schemaGenerator if thats possible.

@kaqqao
Copy link
Member

kaqqao commented Jul 21, 2018

@waeljammal The problem with dynamic proxy classes (at least until Java modules become the norm and access to Unsafe is completely removed) is that they do not have to be generated in the same package as the original class, which breaks a few features. Also, depending on the way the proxy is generated, type naming and other nuances get messed up. This is why SPQR needs explicit types provided in these cases.

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

4 participants