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
docs: guide on using rails migrations with hasura #1186
Comments
Hey there! I've been a Rails developer for a couple years now, and would love to contribute to this issue for Hacktoberfest, and learn more about Hasura in the process. Can someone please guide me regarding how I can proceed with tackling this issue? |
@athityakumar Hasura has migrations and metadata. Simply speaking, migrations are sql files and metadata is configuration like track_table, permissions, remote_schemas etc (configuration for all hasura features). So, if somebody is running a rails microservice they might be using active record migrations to do the sql migrations already. But for these migrations to work seamlessly with hasura, they will have to run the corresponding metadata API calls as well. This issue is to give a simple technique which embeds the corresponding hasura metadata in the active record/rails migration system. |
@tirumaraiselvan - Ah, got it. Is there any other similar already-documented guide/technique for other web frameworks (Django/MEAN) that I could use as reference for what is expected? |
I think rails have to has hasura extension that makes automatic API calls to hasura. I not prefer use rails migrations on a new project. But when I done migrations with hasura, rails dosn't now relationships. Also rails activestroage migrations is a problem. Also if use a gem that makes migration, it is not comfortable. If anybody want to work about this topics, I want to work too. |
I can work on this issue if anyone suggest me an example about how to make metadata API calls to Hasura. Thank you. |
@FastEngineer Thanks for your help. But, we have already finished work on this and just need to put it out. |
Is this out yet? |
@rikinsk Can we pls publish this in the docs? |
Waiting the docs. |
@tirumaraiselvan Should I create a PR and reference this issue? |
@ashishra0 Pls go for it. |
Any update on this? |
+1 |
+1 |
@tirumaraiselvan @ashishra0 Is there a timeline for getting this out? Been looking at what a migration path from Rails to Hasura would look like and this is definitely a gap for me. Are the current state of the docs available somewhere I could review even if they're not finalized? Happy to help here, if there's anything I can do. |
+1 |
@tirumaraiselvan @rikinsk @ashishra0 what's going on? As stated by @tirumaraiselvan in January 2020, this functionality has been implemented, but only the docs haven't been published about it. Does it take three and a half years to publish docs for such a functionality?
What's the latest status of this? |
We need docs on using Rails migrations with Hasura.
This guide can go here: https://hasura.io/docs/1.0/graphql/core/guides/integrations/index.html.
The text was updated successfully, but these errors were encountered: