Кеняка
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
But thank you anyway, you gave me a push in what direction I need to think
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
all this with nulls, no checks were needed. It was only necessary to apply drag&drop to another container
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
In general, I figured out the problem. It consisted in the fact that I called the function twice, applying Drag&Drop directly to the parent and child elements simultaneously
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
Ok, I got it, thanks for the help
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
I also call the component once in layout.tsx
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
perhaps, since I call this function in other files
although I checked and made a separate function for this action, it apparently also ran twice
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
although this was noticeable on the site itself
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
I did a debug, all data and values from the client are sent correctly
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
rest in mutation
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
.
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
Well, my object takes two types (already three):
Id<"documents"> | undefined | null
after what I added, if I pass null
, then everything is ok and it removes the values in the database and puts undefined
but if I pass Id<"documents">
then it does not change the value in the database57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
I convey it like this
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
i did like this by adding an additional null type, but now if i pass values with type
Id<"...">
then it does not change undefined
to Id
57 replies
CCConvex Community
•Created by Кеняка on 12/31/2024 in #support-community
object is not accepted undefined
I'll try now
57 replies