Skip to content

[Firestore] Add multiple response model type with Variadic parameter #23

@fummicc1

Description

@fummicc1
protocol User {}
struct Me: User {}
struct Friend: User {}

let me: Me = try await client.get(ref, User.self, concreteTypes: Me.self, Friend.self)
let friend: Friend = try await client.get(ref, User.self, concreteTypes: Me.self, Friend.self)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions