Skip to content

Make deserializers public #703

Open
Open
@koates-ol

Description

@koates-ol

Checklist

  • I have looked into the Readme and Examples, and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

I'm trying to use the library with Quarkus in native mode and running into the following class not registered for reflection:

Class com.auth0.json.mgmt.roles.RolesPageDeserializer has no default (no arg) constructor
 at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 1]

Describe the ideal solution

Ability to register the class for reflection like I am able to do with com.auth0.json.auth.TokenHolderDeserializer

From what I can tell this could be achieved by making the Deserializer classes public and then perform the registration:

Image

Alternatives and current workarounds

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestA feature has been asked for or suggested by the community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions