这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@0x777
Copy link
Member

@0x777 0x777 commented Nov 22, 2018

Description

We used to depend on first aggregation in the generated SQL queries. This dependency has been removed a while ago, however we haven't removed the dependency in an internal view that we use. This PR completely gets rid of the dependency on first aggregates.

What component does this PR affect?

  • Server
  • Console
  • CLI
  • Docs
  • Community Content
  • Build System

Requires changes from other components? If yes, please mark the components:

  • Server
  • Console
  • CLI
  • Docs
  • Community Content
  • Build System

Related Issue

#1085

Solution and Design

Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Docs update
  • Community content

Checklist:

  • I have read the contributing guide and my code conforms to the guidelines.
  • This change requires a change in the documentation.
  • I have updated the documentation accordingly.
  • I have added required tests.

@shahidhk shahidhk added the c/server Related to server label Nov 22, 2018
@hasura-bot
Copy link
Contributor

Review app available at: https://hge-ci-pull-1089.herokuapp.com

@hasura-bot
Copy link
Contributor

Review app for commit b818238 deployed to Heroku: https://hge-ci-pull-1089.herokuapp.com
Docker image for server: hasura/graphql-engine:pull1089-b818238

@0x777 0x777 merged commit db1f6c1 into hasura:master Nov 27, 2018
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-1089.herokuapp.com is deleted

hasura-bot pushed a commit that referenced this pull request Sep 10, 2024
<!-- The PR description should answer 2 important questions: -->

### What
WIP PoC of a dynamic router for json api. There is no actual execution.
This only implements a dynamic router, which can validate any path/URL
against the metadata.

The `json_api` module exports an `axum::Router` which is added to the
main router. It is currently hidden behind an unstable feature flag
`--enable-json-api`.

Added some clippy allow annotations as its WIP.

### How

Create an axum router which matches on any path. And then inside the
handler check and validate with an own internal state if the route is
valid. This internal state is derived from metadata and is built during
start-up.

V3_GIT_ORIGIN_REV_ID: b2ee0a3419bd9292af9acf1787381099d20da2ab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c/server Related to server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants