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

Update "Best practices" article #304

Closed
1 task done
Tracked by #214
bucanero opened this issue Oct 19, 2023 · 1 comment · Fixed by near/docs#1597
Closed
1 task done
Tracked by #214

Update "Best practices" article #304

bucanero opened this issue Oct 19, 2023 · 1 comment · Fixed by near/docs#1597
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@bucanero
Copy link
Contributor

bucanero commented Oct 19, 2023

  • add workaround for Hasura relationships

Let's have a doc / howto on this. When user creates a VIEW, Hasura generates a GraphQL query for it

Workaround for hasura relationship: create a view that consists of join in Postgres schema.
Example: https://near.org/dataplatform.near/widget/QueryApi.App?selectedIndexerPath=bo.near/devhub_v14&view=editor-window

@bucanero
Copy link
Contributor Author

Rework on "Best practices" article, based on https://docs.google.com/presentation/d/1toEIGXigFajmZrPTGBlaI000PT6lCf4V1ZpxFiQO-Q8/edit?usp=sharing (slide 19 and up)

@bucanero bucanero changed the title [docs /how-to] workaround for Hasura relationships Update "Best practices" article Nov 21, 2023
@bucanero bucanero linked a pull request Nov 22, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant