Giter VIP home page Giter VIP logo

Comments (5)

droserasprout avatar droserasprout commented on June 12, 2024

Hasura error when schema_name is undefined

from dipdup.

droserasprout avatar droserasprout commented on June 12, 2024

@bb4L, @sbihel, fixed in 2.0.7, Docker images will be available soon.

A small feature (probably no one knew about it except me) was removed in this release. Before today, DipDup tried to merge existing Hasura metadata: tables, queries and REST endpoints. This allowed to use a single Hasura deployment with multiple DipDup instances. Could save some time developing multiple backends at once. However, the following problems revealed:

  • It's hard to get underlying database schema with Hasura introspection queries
  • Orphaned entities must be tracked
  • Code complexity grows as edge cases are discovered

So I decided to remove corresponding code and reset Hasura metadata on every configuration. Please reply in this thread or Baking Bad chats if you'd like to have an ability to inject arbitrary metadata (in addition to queries from project/graphql directory) on Hasura configuration.

from dipdup.

bb4L avatar bb4L commented on June 12, 2024

@droserasprout
i updated to dipdup 2.0.7 and hasura 2.0.3 now i get: Unknown table `hat` ( same for dipdup 2.0.7 and hasura 2.0.6)

am i missing something? / some configurations?

EDIT:
not sure if related but if i'm not mistaking i just had the issue when restarting from "scratch" with dipdup 2.0.5 and hasura 1.3.3 it doesn't automatically expose the tables on hasura

from dipdup.

droserasprout avatar droserasprout commented on June 12, 2024

@bb4L, please post here or PM me code of models.py module of your project, so I can reproduce this issue.

from dipdup.

droserasprout avatar droserasprout commented on June 12, 2024

Fixed in 2.0.8.

from dipdup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.