question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEAT]Define ID rule for hasura/graphql data provider

See original GitHub issue

Is your feature request related to a problem? Please describe. When using String as pk, the default hasura dataProvider always throws variable \"id\" is declared as uuid!, but used where String! is expected. Have to pass custom metaData everywhere to avoid the error.

Describe the solution you’d like Pass rules or default value when initializing the dataProvider.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
omeraplakcommented, Nov 11, 2022

@omeraplak can you give me an example of how to do that override using metadata ?

Hey @sarathy-partha , You can find an example on our FAQ page 🚀 https://refine.dev/docs/faq/#how-i-can-override-specific-function-of-data-providers

1reaction
omeraplakcommented, Oct 13, 2022

Hi @omeraplak Can I look into it if @Smartmind12 you are looking into the other issue

Hey @Ruchika30 , If you are still interested I assigned the issue to you. Happy hacking!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · refinedev/refine - GitHub
[FEAT]Define ID rule for hasura/graphql data provider enhancement New feature or request good first issue Good for newcomers. #1271 opened on Nov 27, ......
Read more >
Common access control patterns with Hasura GraphQL Engine
The access control rules in Hasura are functions of session variables. ... x-hasura-user-id that can be decoded from the request headers of ...
Read more >
Building Admin Interfaces with React Admin and Hasura ...
We are going to make use of our GraphQL data provider ra-data-hasura, tailored to target Hasura GraphQL endpoints and build re-usable ...
Read more >
Build a GraphQL Application Using Hasura | CockroachDB Docs
Now that you have connected your cluster to Hasura GraphQL Engine, you can use the Explorer to create GraphQL queries to access and...
Read more >
Data Provider - Refine Dev
A data provider is the place where a refine app communicates with an API. ... Simple REST Dataprovider is fully compatible with the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found