Replies: 4 comments 6 replies
-
I am considering switching to returning However, in most cases, whether you use As it will still be a breaking change, I won't implement it earlier than @obedm503, I noticed your thumbs down reaction. Do you have some thoughts on this? |
Beta Was this translation helpful? Give feedback.
-
Using I'm partial to sticking with |
Beta Was this translation helpful? Give feedback.
-
Hey @maxnowack , I noticed that when I do a full page refresh the This makes it hard to distinguish whether the object is not found and when it's not loaded yet. I tried using Maybe |
Beta Was this translation helpful? Give feedback.
-
Hi @mieszkosabo, in SignalDB there is no difference between “no data” and “data is not yet loaded”. Therefore, it is not possible to return undefined if the data has not been loaded yet. |
Beta Was this translation helpful? Give feedback.
-
I'm just used to prisma style return types. This might be bike shedding.
null
means "not found" to me more than undefined for some reason. Please close if you find this frivolous!!Beta Was this translation helpful? Give feedback.
All reactions