graphql-spqr icon indicating copy to clipboard operation
graphql-spqr copied to clipboard

Make a public OperationMapper#createResolver overload to help with creating custom field resolvers

Open kaqqao opened this issue 10 months ago • 3 comments

OperationMapper#createResolver is currently private, but also not exactly convenient to use, as it requires creating an Operation to represent the underlying Java class members. It would be useful to expose a more convenient overload that could be called by various end-user extensions (e.g. custom TypeMappers etc) to create custom resolvers.

The idea originally came from: https://github.com/leangen/graphql-spqr/issues/491

kaqqao avatar Mar 27 '24 21:03 kaqqao

Hi, @kaqqao May I handle this issue? I am able to open PR within 2 weeks.

AnneMayor avatar Jul 02 '24 23:07 AnneMayor

Hi! Yes, sure! Would be appreciated. I am curious to hear your use-case for this though (if you have it).

kaqqao avatar Jul 03 '24 00:07 kaqqao

Great 👍 I will leave the comments after contemplating this issue.

AnneMayor avatar Jul 07 '24 04:07 AnneMayor