Comments (5)
Hasura error when schema_name is undefined
from dipdup.
@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.
@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.
@bb4L, please post here or PM me code of models.py
module of your project, so I can reproduce this issue.
from dipdup.
Fixed in 2.0.8.
from dipdup.
Related Issues (20)
- Schema issues. . . HOT 3
- Smarter datasource connection defaults
- installer GHA workflow seems to be broken HOT 1
- Remove `advanced.metadata_interface` config flag
- Can't establish database connection HOT 2
- Single pass operation group matcher HOT 1
- Disable Discussions tab; convert existing into issues
- Push pysignalr WS client upstream
- Remove "standalone services" docs HOT 1
- `ipfs` datasource doesn't respect `http.connection_timeout` config field HOT 6
- database connection error with dipdup 6.5.5 HOT 1
- Fix GH release descriptions from updated CHANGELOG.md
- Datasources raise asyncio.TimeoutError on connection_timeout instead of retry HOT 1
- Installer GH workflow is broken
- Prometheus integration is outdated
- `first_level` option is ignored in some cases
- Replace `crash_reporting` flag with `report send` command
- Don't manage model cache manually in Uniswap demo
- GHA: `save-state` and `set-output` commands are deprecated
- More output formats for `config export` command
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dipdup.