Skip to content

Commit

Permalink
fix: Hasura CLI created incorrect argument schemas (#2248)
Browse files Browse the repository at this point in the history
* When running ddn codegen to upgrade to latest schemas, I think it
  introduced a bug where _in arguments look for a string, instead of
  a string array. This manually forces it back in an attempted fix
  • Loading branch information
ryscheng authored Sep 26, 2024
1 parent 137f3f5 commit ad07e07
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions apps/hasura3/oso_subgraph/metadata/oso_clickhouse-types.hml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ definition:
- name: _ilike
argumentType: String!
- name: _in
argumentType: String!
argumentType: "[String!]!"
- name: _like
argumentType: String!
- name: _lt
Expand Down Expand Up @@ -216,7 +216,7 @@ definition:
- name: _gte
argumentType: Float32!
- name: _in
argumentType: Float32!
argumentType: "[Float32!]!"
- name: _lt
argumentType: Float32!
- name: _lte
Expand Down Expand Up @@ -252,7 +252,7 @@ definition:
- name: _gte
argumentType: DateTime!
- name: _in
argumentType: DateTime!
argumentType: "[DateTime!]!"
- name: _lt
argumentType: DateTime!
- name: _lte
Expand Down Expand Up @@ -288,7 +288,7 @@ definition:
- name: _gte
argumentType: Float64!
- name: _in
argumentType: Float64!
argumentType: "[Float64!]!"
- name: _lt
argumentType: Float64!
- name: _lte
Expand Down Expand Up @@ -404,7 +404,7 @@ definition:
- name: _gte
argumentType: Date!
- name: _in
argumentType: Date!
argumentType: "[Date!]!"
- name: _lt
argumentType: Date!
- name: _lte
Expand Down Expand Up @@ -520,7 +520,7 @@ definition:
- name: _gte
argumentType: Int64!
- name: _in
argumentType: Int64!
argumentType: "[Int64!]!"
- name: _lt
argumentType: Int64!
- name: _lte
Expand Down
2 changes: 1 addition & 1 deletion apps/hasura3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"metadata:introspect": "ddn connector introspect oso_clickhouse",
"metadata:build:local": "ddn supergraph build local",
"metadata:deploy:cloud": "ddn supergraph build create",
"start": "dotenv -- docker compose up --build --watch",
"start": "ddn run docker-start",
"sync": "pnpm metadata:introspect",
"deploy": "pnpm metadata:deploy:cloud"
},
Expand Down

0 comments on commit ad07e07

Please sign in to comment.