Skip to content
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
This repository was archived by the owner on Aug 30, 2026. It is now read-only.

Add new official supported types #191

Description

@fgruchala

Thanks for stopping by to let us know something could be better!

Is your feature request related to a problem? Please describe.
Yes, we want to map BigDecimal or LocalDateTime object in our Firestore database.
For now, we have these problems :

java.lang.IllegalArgumentException: Could not serialize object. Numbers of type BigDecimal are not supported, please use an int, long, float or double (found in field 'insurances.liability.amount.value')
	at com.google.cloud.firestore.CustomClassMapper.serializeError(CustomClassMapper.java:555) ~[google-cloud-firestore-1.32.4.jar:1.32.4]

Describe the solution you'd like
I would like official mappers for conventionnal Java types.

Describe alternatives you've considered
Create our custom (De)Serializer but I think that it can be a good thing for the lib.

Additional context

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: firestoreIssues related to the googleapis/java-firestore API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions