Deprecate Gson.excluder() exposing internal Excluder class#1986
Conversation
|
Seems like some people are using this so I'm not sure we can remove it. |
|
Hmm good point. Maybe Gson should then expose (parts of) the What do you think? We can also deprecate |
|
Obviously it was a mistake to add a method to the public API that returns an |
2fe4674 to
e9921d8
Compare
Gson.excluder() exposing internal Excluder classGson.excluder() exposing internal Excluder class
|
Ok, I have repurposed this pull request to only deprecate the |
|
Thanks! |
|
Hi everyone. I'm chiming in as the maintainer of GraphQL SPQR, one of the projects that uses
This is exactly our situation. We're generating a GraphQL schema from Java types and, in order to decide what fields to expose, we're effectively interrogating Gson's configuration to make that decision.
For what it's worth, this would suffice and sounds like a very fair approach to me. |
|
@kaqqao, would you mind creating a new feature request issue for this (I don't think one exists yet)? That would probably make it easier to track this request. |
Resolves #1903
Additionally adds documentation to some Gson methods which did not have documentation yet.