734 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
20
views
Why does my export from cloud hasura have `restrict` and `unrestrict` in up.sql
I am setting up a hasura development environment on my local mac as a copy of an instance running in the hasura cloud (https://cloud.hasura.io/project/{id}) so I performed an export using the hasura ...
0
votes
0
answers
23
views
Will a Hasura filter based on nested objects yield results even just one nested object satisfies the condition?
Given a query like this:
query GetUsersAndRevenues {
User_aggregate(
where: {
transactions: {timestamp: {_gte: 1743465600, _lte: 1751328000}}
}
) {
aggregate {
count(...
0
votes
0
answers
79
views
Hasura Documentation Pagination Example Seems Incorrect – Limit vs. Offset
I'm following the Hasura documentation on GraphQL Limit and Offset for pagination, and I noticed something that seems incorrect.
The docs state:
"If we have 50 todos, we could split them into 5 ...
0
votes
0
answers
29
views
Query Depth limit Hasura
There exists info for query depth limit in Hasura V2: Hasura rate limit
We are trying to use Hasura V3. There exists a rate limiting plugin, but it seems it does not allow for setting maximum depth ...
beat's user avatar
- 1,912
0
votes
0
answers
83
views
GraphQL UUID Handling Issue with Hasura CRUD Operations Using go-graphql-client
I have created a user table in Hasura with the following schema:
id: UUID generated by gen_random_uuid().
name: String.
email: String.
I am building a Go application using the go-graphql-client ...
1
vote
2
answers
106
views
Sending multiple roles to execute request in hasura
I have reviewed the hasura documentation but it mentions that I need to send either x-hasura-role or x-hasura-default-role along with x-hasura-allowed-roles. If I send any one of these along with x-...
0
votes
2
answers
93
views
How to provide env variables as values in the form template?
Trying to create a actions.yml file for my hasura graphql.
I have a request_tranform to be created in below format:
request_transform:
version: 2
method: POST
body:
...
0
votes
1
answer
57
views
Hasura log shows UNAUTHORIZED_ROLE is being used when actual x-hasura-role has no table permissions
I was configuring nextJS to query Hasura, passing a JWT as a header in each request.
I used an ApolloProvider along with ApolloClient and ApolloLink like this:
headers['Authorization'] = `Bearer ${...
0
votes
1
answer
523
views
Hasura GraphQL error: "field '{name of mutation}' not found in type: 'mutation_root'" for table with insert only user permissions
I recently added a table in Hasura and I restricted the table to only have insert permissions at the user level since the user didn't need to perform any queries.
However, the mutation to insert into ...
0
votes
1
answer
153
views
Hasura GraphQL doesn't have mutation option
I'm new to Hasura. I just setup Hasura and connect it with MongoDB.
I follow the instruction according to the guide here: https://www.mongodb.com/developer/products/atlas/graphql-apis-hasura/
The ...
1
vote
0
answers
225
views
Can I Create a JDBC Connection URL Using AWS Credential Profile?
I am trying to create a JDBC connection to Amazon Athena using AWS credentials stored in an AWS profile (either through InstanceProfileCredentialsProvider or ProfileCredentialsProvider). However, the ...
0
votes
0
answers
58
views
Postgresql table design: Should I use separate table and join them or pack them into array of JSON in one column
This is what my table looks like
which is the best approach to design this database?
And I use postgresql in Hasura(Graphql engine that generate graphql server by define database with no code)to ...
2
votes
0
answers
31
views
Hasura tries to use DB username `postgres` despite other creds in HASURA_GRAPHQL_DATABASE_URL
Which env vars controls the database username will be used to connect?
In my env (hosted at Qovery using k8s), it seems to only want to use the postgres username. In the Hasura docs, I see the ...
-1
votes
1
answer
63
views
Error thrown in Console, but not from app
"field 'todos' not found in type: 'query_root'"
I dont get this error if query is being run from application
but do get if it is run from Hasura Console
why?
the app is just a copy of nhost ...
0
votes
1
answer
61
views
Restrict Hasura Console
I have a self-hosted Hasura installation. Right now Hasura Console in accessible via admin token you need to provide.
This approach is unfeasible for us because I can't give admin token to everyone, ...