-
Notifications
You must be signed in to change notification settings - Fork 943
Closed
Labels
enhancementAn enhancement or improvement to the SDK that could not be otherwise categorized as a new featureAn enhancement or improvement to the SDK that could not be otherwise categorized as a new feature
Description
Repackaging Jackson package breaks Jackson annotations :(
When I serialize user claim using JwtSigner the following code is not working.
public class UserAuthority {
@NotNull
@ManyToOne
@com.fasterxml.jackson.annotation.JsonIgnore
private User user;
}Annotation JsonIgnore is ignored and this field is serialized (causing infinite loop).
When I switch to annotations from com.auth0.jwt.internal.com.fasterxml.jackson everything works perfectly.
public class UserAuthority {
@NotNull
@ManyToOne
@com.auth0.jwt.internal.com.fasterxml.jackson.annotation.JsonIgnore
private User user;
}Is repackaging com.fasterxml.jackson and org.apache.commons.codec absolutely necessary.
Can't You add them as standard dependencies?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementAn enhancement or improvement to the SDK that could not be otherwise categorized as a new featureAn enhancement or improvement to the SDK that could not be otherwise categorized as a new feature