john-kelly / elm-postgrest

Make PostgREST requests in Elm
109 stars 14 forks source link

Schema/Resource code generation #19

Open john-kelly opened 7 years ago

john-kelly commented 7 years ago

https://www.youtube.com/watch?v=sh4H8yzXnvw

laughedelic commented 5 years ago

PostgREST serves an OpenAPI specification, and openapi-generator supports Elm. So I think this should be quite easy to do just by modifying the (mustache) templates for Elm.

I'd really like to start using this library (and help with the schema generation), but I hesitate to use an unreleased version. What is you plan for the next release?

john-kelly commented 5 years ago

The current plan is to release the next version of the library in sync with the 0.19 release of Elm.

With that being said, there are still a few things I'd like to finish before an official release:

  1. embed alias updates: https://github.com/john-kelly/elm-postgrest/issues/57
  2. documentation: https://github.com/john-kelly/elm-postgrest/issues/12
  3. misc api name changes + updates (no issues for that right now)

At this time, I'm actively working to improve the documentation. I'm still thinking + sitting on alias related updates.

laughedelic commented 5 years ago

Thanks for the update! Keep up the good work 👍