Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish a "realm-schema-exporter" package #2787

Open
kraenhansen opened this issue Apr 1, 2020 · 0 comments
Open

Publish a "realm-schema-exporter" package #2787

kraenhansen opened this issue Apr 1, 2020 · 0 comments

Comments

@kraenhansen
Copy link
Member

kraenhansen commented Apr 1, 2020

As a user of Realm, I would like to automate generating the language specific code representing the schema across multiple platforms / languages. Ideally this would be a package published on NPM with a simple CLI as well as exports.

Currently Realm Studio has a feature to export the schema of a local or synchronized Realm into multiple languages, but it requires manual interaction with Realm Studio (opening the Realm, selecting stuff from the menu).

The part of Realm Studio responsible for this is highly decoupled from the rest of Realm Studio: https://github.com/realm/realm-studio/tree/master/src/services/schema-export and it should be fairly easy to refactor and publish this as a separate package on NPM.

I'm creating the issue in this repository, be cause I think this repo (or perhaps https://github.com/realm/realm-tools) would be a good place to move the current code.

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

No branches or pull requests

1 participant