D_Gamer
Need help with 0.11.0 release merge !
I am currently merging release 0.11.0 with my features. So in there, I found that we have introduced
auditLog
table in workspace schema. Now, I already have workspaces created and I can't afford to lose data. So how do you suggest I can approach this ?
I executed database:migrate
, but I understand it wont make changes to my existing workspaces.5 replies
How to disable pagination on “useFindManyRecords” ?
I am trying to fetch “Object A” with “useFindManyRecords” inside that ObjectA I am fetching Object B. Object A has Many Object B.
The query runs perfectly but I am getting Paginated data for Object B. But I want all the data that exists in database. What can be done about this ?
4 replies
How are graphql errors getting displayed through snackbar ?
I tried looking at Errorlink implementation in Apollofactory, which handles different kind of errors. There is this switch case for UNAUTHENTICATED error extension code which has been handled and for other cases I think we are getting that error snackbar but I dont see any snackbar function getting invoked for that nor I could find a state for it. So is it something internally handled by apollo client ?
Where there is a case for UNAUTHENTICATED, I want to add one more case and want to show a descriptive message in snackbar for that. Because right now it is displaying “Error” or “GraphQLError” as per what I return from backend.
14 replies
Can OptimisticEffect work this way ?
Let’s say I have two objects “A” and “B”.
Object A has ONE TO MANY relation with Object B.
Now, I use “useFindManyRecords” for Object A and in its query fields I fetch Object B items as well. With this “useUpdateManyRecord” and other CRUD hooks for this same Object A works fine and optimistic effect is running properly as well.
But now If I run “useDeleteOneRecord” for Object B then would the OptimisticEffect work as expected ? In my implementation it doesn’t seem to work.
17 replies