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.

[BUG] useShow does not query when given a specific resource name.

See original GitHub issue

Describe the bug useShow does not query when given a specific resource name.

Expected behavior useShow to query with the given resource name when the page is loaded or rendered

"@pankod/refine-antd": "^3.41.0",
"@pankod/refine-core": "^3.69.0",
const { queryResult } = useShow({ resource: 'getReport' });
const { data, isLoading } = queryResult;
console.log('🚀 ~ file: show.tsx ~ line 52 ~ ShowReports ~ data', data);

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
emehmetcommented, Sep 9, 2022

Hey @omeraplak ,

Yes it works. Thank you! 🥳

0reactions
omeraplakcommented, Sep 9, 2022

Hey @emehmet , We’ve released @pankod/refine-core@3.69.2. Could you approve this fix?

Read more comments on GitHub >

github_iconTop Results From Across the Web

[BUG] useShow does not query when given a specific resource name.
Describe the bug useShow does not query when given a specific resource name. Expected behavior useShow to query with the given resource name...
Read more >
Can not use "show grants to user ... " inside common table ...
I returned the top 100 grants in a newline delimited string, just click on the output from the query and it will display...
Read more >
Understand and resolve SQL Server blocking problems
If the query isn't executed within a transaction (and no lock hints are used), the locks for SELECT statements will only be held...
Read more >
Working with query editor v2 - Amazon Redshift
To see the attributes or a table, use Show table definition. Use this to see column names, column types, encoding, distribution keys, sort...
Read more >
13.7.7.42 SHOW WARNINGS Statement
A difference in these statements is that the first is a diagnostic statement that does not clear the message list. The second, because...
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