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

edit as elm json schema #3

Open
jwoudenberg opened this issue Feb 24, 2017 · 0 comments
Open

edit as elm json schema #3

jwoudenberg opened this issue Feb 24, 2017 · 0 comments

Comments

@jwoudenberg
Copy link
Contributor

jwoudenberg commented Feb 24, 2017

Although I like the idea of writing json schema's in elm, I worry the actual of having to compile the schema before being able to load it into <insert tool here> will discourage it's use.

To that end it would be cool if we'd have a tool that you can use to edit any json schema as an elm json schema. That would work something likethis:

  • run edit-elm-json-schema my-schema.json
  • parse the json schema to an elm json schema and save the result up in a temporary directory.
  • install some dependencies in the temporary directory to ensure elm-make works.
  • open the file in the users editor of choice.
  • user edits the elm code.
  • upon saving compile the elm json schema to regular json and store that over the original file.
@norpan norpan mentioned this issue Mar 12, 2017
@jwoudenberg jwoudenberg mentioned this issue Apr 5, 2017
@norpan norpan mentioned this issue Apr 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant