You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an params object with multiple properties on it. Some of the properties may be null. When this happens, the query that I run (which doesn't even reference the null parameter properties) just seems to hang and the promise never resolves. To get around this I need to build a new object which does not even contain those null properties. Is there a better way to handle this?
PS. The reason for the object containing the null properties is that I do some if statements to decide which query to execute by looking to see of those properties are null or not. If I could just continue to pass this object along and use it as the seriate params, that would be magnificent.
The text was updated successfully, but these errors were encountered:
I have an params object with multiple properties on it. Some of the properties may be null. When this happens, the query that I run (which doesn't even reference the null parameter properties) just seems to hang and the promise never resolves. To get around this I need to build a new object which does not even contain those null properties. Is there a better way to handle this?
PS. The reason for the object containing the null properties is that I do some if statements to decide which query to execute by looking to see of those properties are null or not. If I could just continue to pass this object along and use it as the seriate params, that would be magnificent.
The text was updated successfully, but these errors were encountered: