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

Conversation

@rakeshkky
Copy link
Member

Description

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

fix #240

Solution and Design

Reload table constraints whenever run_sql query is made.

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.

@rakeshkky rakeshkky added s/ok-to-merge Status: This pull request can be merged to master c/server Related to server labels Dec 18, 2018
@rakeshkky rakeshkky self-assigned this Dec 18, 2018
@rakeshkky rakeshkky requested a review from 0x777 December 18, 2018 12:24
@hasura-bot
Copy link
Contributor

Review app for commit f282c8c deployed to Heroku: https://hge-ci-pull-1229.herokuapp.com
Docker image for server: hasura/graphql-engine:pull1229-f282c8c

@hasura-bot
Copy link
Contributor

Review app for commit 691ffe7 deployed to Heroku: https://hge-ci-pull-1229.herokuapp.com
Docker image for server: hasura/graphql-engine:pull1229-691ffe7

@0x777
Copy link
Member

0x777 commented Jan 2, 2019

closing in favor of #1287

@0x777 0x777 closed this Jan 2, 2019
@hasura-bot
Copy link
Contributor

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

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

### What

<!-- What is this PR trying to accomplish (and why, if it's not
obvious)? -->

<!-- Consider: do we need to add a changelog entry? -->

<!-- Does this PR introduce new validation that might break old builds?
-->

<!-- Consider: do we need to put new checks behind a flag? -->
The `example` JSON schema attribute can be specified multiple times
enabling inclusion of multiple examples. The OpenDd metadata is
auto-documented in hasura.io/docs using the json schema. Having multiple
examples is quite helpful for our users.

Inspired from the `schemars`'s `example` attribute behavior.

### How

<!-- How is it trying to accomplish it (what are the implementation
steps)? -->
- Use `#[darling(multiple)]` attr to allow the `example` attribute
multiple times.
- Add more examples for model predicates and permission.

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

Labels

c/server Related to server s/ok-to-merge Status: This pull request can be merged to master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

schema cache is not updated when new constraint is added to already tracked table (via console sql)

3 participants