/FirestoreDocument

A codable implementation of a Firestore Document.

Primary LanguageSwift

FirestoreDocument

Version License Platform Language

What is it?

FirebaseDocument is a collection of models to represent Firestore documents based on https://firebase.google.com/docs/firestore/reference/rest/v1beta1/projects.databases.documents

Features

  • Decode json Firestore documents returned from the Firestore REST API
  • Convert Firestore document objects to your own models
  • Encode your models back to Firestore documents to send back to the Firestore REST API

Installation

Cocoapods

pod "FirestoreDocument"

SPM

.package(url: "https://github.com/Coledunsby/FirestoreDocument.git", from: "1.0.0")

Author

Cole Dunsby, coledunsby@gmail.com

License

FirestoreDocument is available under the MIT license. See the LICENSE file for more info.