You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
@Data
public class User {
private String username;
private String firstName;
private String lastName;
@GraphQLQuery(name = "emailAddress", description = "The user email")
private String email;
}
I know spqr cannot access private fields and I would have to generate getters to acheive this but I was wondering if there was a way to do this and still benefit of lombok @Data
I have found
@Getter(onMethod = @__(@GraphQLQuery(name = "emailAddress", description = "The user email")))
private String email;
this does work still not quite clean In my opinion
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to achieve something like this
I know spqr cannot access private fields and I would have to generate getters to acheive this but I was wondering if there was a way to do this and still benefit of lombok
@Data
I have found
this does work still not quite clean In my opinion
The text was updated successfully, but these errors were encountered: