Skip to content

Conversation

@tdraier
Copy link
Collaborator

@tdraier tdraier commented Feb 6, 2018

…Validators/DefaultValues..

Small improvement (last one !) : when calling newInstance(), it first checks if a getInstance() returning a singleton is available and call it if possible. This is very useful for TypeResolver, which I need to instantiate on my side (to correctly fill the available types), and share the same instance with graphql-java (otherwise, I need to use ugly static maps of types). It's also available and can be useful for all types which are created using this method.

@guy120494
Copy link
Contributor

Can you add something about that in the readme?

@guy120494 guy120494 merged commit 4908252 into Enigmatis:master Mar 22, 2018
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.

2 participants