joshuabowers / opium

An Object Parse.com Mapping technology for defining models.
MIT License
1 stars 0 forks source link

Add support for the new Schema API #48

Open joshuabowers opened 9 years ago

joshuabowers commented 9 years ago

Parse recently added a REST API for retrieving and modifying the application schema. This should ideally be accessible within Opium.

In addition to providing a new class, Opium::Schema, for accessing this information, it might be nice to have a utility method, .schema on Opium::Model's.

Additionally, some sort of analog to ActiveRecord migrations might be nice to eventually support, to have a uniform DSL for creating and modifying the schema over time.