Skip to content

Commit

Permalink
Merge pull request #12 from hasura/wip/v0.2.2
Browse files Browse the repository at this point in the history
Support Native queries, parameterized views
BenoitRanque authored Apr 10, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 08d2b9e + 015837b commit 6b349d7
Showing 41 changed files with 3,633 additions and 1,883 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/target
/.idea
.env
config
/config
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.2.2]

- Return error if empty list of query variables passed. Variables should be ommited or be a list with at least one member
- Use table comment as description for corresponding collection and object type
- Return json representation for applicable scalar types in schema response
- Add `configuration.schema.json` to generated configuration directory
- Bump ndc-spec dependency to 0.1.1
- Config breaking change: use maps for tables and columns list, rather than arrays. This should help avoid duplicate alias issues
- Move parsing column data types into configuration time and startup time, instead of query execution time. This should give error feedback earlier
- Allow tables and native query return types to be marked as identical to return types for other tables/queries
- Support parameterized views (don't support column valued arguments)
- Support parameterized native queries, except in foreach queries. Also don't support column valued arguments
- Change explain output so the console knows how to extract generated SQL and sql explain plan to display to the user
- Pretty print explain SQL output
- Fix a bug where no result sets where returned when foreach predicate didn't match any rows. Correct behavior: empty result set is returned

## [0.2.1]

### CLI
Loading

0 comments on commit 6b349d7

Please sign in to comment.