GithubHelp home page GithubHelp logo

gwtplus / google-gin Goto Github PK

View Code? Open in Web Editor NEW
13.0 7.0 7.0 10.5 MB

Google Gin

Home Page: http://gwtplus.github.io/google-gin/

License: Apache License 2.0

Java 99.89% CSS 0.08% HTML 0.03%
gwt guice injection jsr-330 gin google-gin

google-gin's People

Contributors

dnouls avatar metteo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

google-gin's Issues

Use Java annotation processor instead of GWT Generator?

GWT Generators are going away in GWT 3 / j2cl. They only way forward is apt. The added benefit of migration would be out of the box support for non GWT projects like Java and Android ones.

However there are sharp alternatives supporting JSR-330:

but some Gin / GWT specific features are not supported by them:

  • GWT-RPC Sync / Async interfaces
  • AsyncProvider interface

More on the issue here: GWT 3 and Gin

Consider either migration to apt or creation of dagger extensions to support GWT specific features.

Gin does not respect injection order when subclassing

Originally reported on Google Code: #199 / #199

What steps will reproduce the problem?
According to the Guice injection points document at: guice/wiki/InjectionPoints injection methods of super classes are called before the methods of a subclass.

In Gin methods are sorted alphabetically meaning that some methods in sub class maybe called before methods from super class.

What is the expected output? What do you see instead?
I expect order of invocation as described in Guice Wiki

What version of the product are you using? On what operating system?
GWT 2.6.1 / GIN 2.1.2

Please provide any additional information below.
zip file with a test case attached in the original issue comments section

Add jdk9 to build matrix

To verify that gin builds with those. We still want to preserve jdk8 compatibility.

Guice supports jdk9 with v4.2.0: google/guice#1085

Also add:
Automatic-Module-Name: com.google.gwt.inject

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.