Justin
Justin
Explore posts from servers
RRefine
Created by foreign-sapphire on 4/3/2024 in #ask-any-question
queryFieldsMap reading properties of undefined useList
Im getting undefined TypeError: Cannot read properties of undefined (reading 'length') at eval (Utils.js:42:67) at Array.forEach (<anonymous>) at eval (Utils.js:40:39) at Array.map (<anonymous>) at Utils.queryFieldsMap (Utils.js:35:32) at DefaultQueryAdapter.operationTemplate (DefaultQueryAdapter.js:79:197) at DefaultQueryAdapter.queryBuilder (DefaultQueryAdapter.js:40:51) at Object.queryOperation [as query] (index.js:26:27) at getList (index.js:379:72) at Object.queryFn (index.js:1759:20) at Object.fetchFn [as fn] (query.mjs:199:33) at run (retryer.mjs:93:37) at eval (retryer.mjs:124:21) When using useList with @refinedev/nestjs-query
9 replies
RRefine
Created by foreign-sapphire on 4/3/2024 in #ask-any-question
using hooks in nextjs layout causesError: (0 , _refinedev_core__WEBPACK_IMPORTED_MODULE_8__.useMenu)
Hey. If i try to use the useMenu hook inside the nextjs app layout im getting the error Error: (0 , _refinedev_core__WEBPACK_IMPORTED_MODULE_8__.useMenu) is not a function an i dont understand why. im using the template provided by refine
12 replies
RRefine
Created by eastern-cyan on 3/31/2024 in #ask-any-question
graphql codegen generate query
So im following the guide of refine and how to use graphql codegen but it states to write the queries (the gaphql-tagged version) yourself. What is the point of codegen when you still need to write the whole thing yourself? im specifically refering to Nest.js Query i would love to have the query for the page meta: { gqlQuery: HERE, }, generated
21 replies
RRefine
Created by sunny-green on 3/31/2024 in #ask-any-question
NextJS + NestJS Query Auth0 api/auth/callback/auth0 Not Found
When i have the given template above and try to login i am instantly getting
{
"message": "Cannot GET /api/auth/callback/auth0?code=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&state=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"error": "Not Found",
"statusCode": 404
}
{
"message": "Cannot GET /api/auth/callback/auth0?code=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&state=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"error": "Not Found",
"statusCode": 404
}
waht am i missing
5 replies
RRefine
Created by conscious-sapphire on 11/8/2023 in #ask-any-question
Is there a Relationship selector for Refine
I want to use a Relationship selector like M2M dropdown mit a multi select or One To Many / Many To One with a single select.
16 replies
RRefine
Created by fair-rose on 11/4/2023 in #ask-any-question
nestjs-query wrong graphql format
Im trying to use the MuiInferencer together with NestJS-Query the Format that is correct and generated by NestJS-Query is following query { players { pageInfo { hasNextPage hasPreviousPage startCursor endCursor } edges { node { id firstName lastName created } cursor } } } But the query that Refine generates looks like the following query { players { nodes { id, firstName }, totalCount } } Note that "nodes" does not exist
22 replies
RRefine
Created by extended-salmon on 11/4/2023 in #ask-any-question
Refine without react as a Client library for Server to Server communication
Is it possible to Access resources, live Providers and so on via an API Client? So you can make use of all refines Features outside of react to Connect "non Frontend" Apps to IT Like Other backends
16 replies