-
Notifications
You must be signed in to change notification settings - Fork 93
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
typesafe client: @OutputOnly
#524
Conversation
Signed-off-by: Rüdiger zu Dohna <[email protected]>
Signed-off-by: Rüdiger zu Dohna <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I said in the issue, I do not think we should introduce this new annotation, but rather use @Ignore
as on the server.
I just non-suggestively asked the developers in my team. All 5 of them said the same thing: using |
We have discussed this and decided to align with JsonB. |
@t1 - The client should also support the JsonB annotation (as the server do) |
There are also other annotations that work this way (field = both, setter = input and getter=output). See for example https://download.eclipse.org/microprofile/microprofile-graphql-1.0.3/microprofile-graphql.html#naming |
@phillip-kruger : yes, you're right with everything you say. This is just not where the client currently is! Annotating a setter as |
Let's talk about this in the next meeting |
Would #316 solve this in another way (so you can now in your project define this an an alias ?) |
We would need way to move a |
Closing, as we decided to do @ignore(on=INPUT) and this will first need some changes in MicroProfile API |
fixes #522 and a minor bug when an error has a path to a nested field but the container value is null