Skip to content

Allow httpsCallable functions to use the same deserialization as firestore #3270

Open
@ColtonIdle

Description

@ColtonIdle

What feature would you like to see?

Allow usage of the typical class mapper in httpsCallables. This feature request came out of this QandA on stackoverflow: https://stackoverflow.com/questions/70448170/firebase-and-android-gethttpscallable-how-to-deserialize-json-into-object/70451194#70451194

How would you use it?

Essentially, if I have an app that uses purely firestore, then I don't have any typical json deserializer bundled in my app code (because Im using firestore). But if I have a one off call that uses an httpsCallable that returns json, I need to either add a 3rd party library like gson, jackson, etc. I'd ideally just like to use the stuff that is already shipping with my app just for brevity and for the sake that I know how the deserializer behaves with null values, empty values, etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions